Httprequest: remove "chunked" from http accept-encoding.
This is useless, chunked support is mandatory in HTTP1.1, and it's not a content-encoding, but a transfer-encoding, so accept-encoding wouldn't help anyway.
This commit is contained in:
@@ -854,7 +854,7 @@ BHttpRequest::_SendHeaders()
|
|||||||
fOutputHeaders.AddHeader("Host", Url().Host());
|
fOutputHeaders.AddHeader("Host", Url().Host());
|
||||||
|
|
||||||
fOutputHeaders.AddHeader("Accept", "*/*");
|
fOutputHeaders.AddHeader("Accept", "*/*");
|
||||||
fOutputHeaders.AddHeader("Accept-Encoding", "gzip, deflate, chunked");
|
fOutputHeaders.AddHeader("Accept-Encoding", "gzip,deflate");
|
||||||
// Allow the remote server to send dynamic content by chunks
|
// Allow the remote server to send dynamic content by chunks
|
||||||
// rather than waiting for the full content to be generated and
|
// rather than waiting for the full content to be generated and
|
||||||
// sending us data.
|
// sending us data.
|
||||||
|
|||||||
Reference in New Issue
Block a user