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