Skip to content
Permalink
Browse files

fix webp rendering in server

currently, qgis server always returns content-length=0
  • Loading branch information
mbernasocchi committed Nov 2, 2020
1 parent 47a08a4 commit 6f6e2b0f004c7f405e0ae94a6c8e606327eef640
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 6f6e2b0

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