mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
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:
@@ -230,10 +230,6 @@ void HTMLForm::prepareSubmit(HTTPRequest& request)
|
|||||||
{
|
{
|
||||||
request.setChunkedTransferEncoding(true);
|
request.setChunkedTransferEncoding(true);
|
||||||
}
|
}
|
||||||
if (!request.getChunkedTransferEncoding())
|
|
||||||
{
|
|
||||||
request.setContentLength(calculateContentLength());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user