mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01: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:
commit
fc40f7c2b5
@ -230,10 +230,6 @@ void HTMLForm::prepareSubmit(HTTPRequest& request)
|
||||
{
|
||||
request.setChunkedTransferEncoding(true);
|
||||
}
|
||||
if (!request.getChunkedTransferEncoding())
|
||||
{
|
||||
request.setContentLength(calculateContentLength());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user