Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dont set content-length header on streamed response. Fixes #13991
Thanks to @AsgerPetersen to help fixing #13991
closes #2582
  • Loading branch information
rldhont committed Dec 15, 2015
1 parent deb34b8 commit 6abb99b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/qgshttprequesthandler.cpp
Expand Up @@ -461,6 +461,7 @@ bool QgsHttpRequestHandler::startGetFeatureResponse( QByteArray* ba, const QStri
format = "text/xml";

setInfoFormat( format );
sendHeaders();
appendBody( *ba );
// Streaming
sendResponse();
Expand Down

0 comments on commit 6abb99b

Please sign in to comment.