mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-22 08:02:06 +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);
|
||||
}
|
||||
if (!request.getChunkedTransferEncoding())
|
||||
{
|
||||
request.setContentLength(calculateContentLength());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user