Dont set content-length header on streamed response. Fixes #13991

Thanks to @AsgerPetersen to help fixing #13991
closes #2582
This commit is contained in:
rldhont 2015-12-15 17:12:55 +01:00
parent b319435743
commit a37ca2b52f

View File

@ -505,6 +505,7 @@ bool QgsHttpRequestHandler::startGetFeatureResponse( QByteArray* ba, const QStri
format = "text/xml";
setInfoFormat( format );
sendHeaders();
appendBody( *ba );
// Streaming
sendResponse();