Skip to content
Permalink
Browse files

fix webp rendering in server (#39803)

* fix webp rendering in server

currently, qgis server always returns content-length=0
  • Loading branch information
mbernasocchi committed Nov 4, 2020
1 parent b335617 commit 0e758df0b2c4b8213ea35f63a0706813ae05e83a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/server/services/wms/qgswmsutils.cpp
@@ -152,6 +152,7 @@ namespace QgsWms
saveFormat = "JPEG";
break;
case WEBP:
result = img;
contentType = QStringLiteral( "image/webp" );
saveFormat = QStringLiteral( "WEBP" );
break;

0 comments on commit 0e758df

Please sign in to comment.
You can’t perform that action at this time.