Merge pull request #1333 from pocoproject/revert-1332-patch-1

Revert "Fixes #1331 - Poco::HTMLForm fails to set content length for HTTPMessage::HTTP_1_0 for ENCODING_MULTIPART"
This commit is contained in:
Günter Obiltschnig 2016-07-30 10:49:28 +02:00 committed by GitHub
commit fc40f7c2b5

View File

@ -230,10 +230,6 @@ void HTMLForm::prepareSubmit(HTTPRequest& request)
{
request.setChunkedTransferEncoding(true);
}
if (!request.getChunkedTransferEncoding())
{
request.setContentLength(calculateContentLength());
}
}
else
{