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:00 +02:00
committed by GitHub
parent f1405ef07c
commit beae6912ee

View File

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