Skip to content

Commit

Permalink
Dont set content-length header on streamed response. Fixes #13991
Browse files Browse the repository at this point in the history
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
Original file line number Diff line number Diff line change
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.