Message353617
RFC 7230 3.3.2 states "A sender MUST NOT send a Content-Length header field in any message that contains a Transfer-Encoding header field."
When trying to perform a chunked request:
import httplib
http = httplib.HTTPSConnection('google.com')
http.request("POST", '/', None, {'Content-Type': 'text/plain',
'Transfer-Encoding': 'chunked'})
Resulting headers include:
Content-Length: 0
Transfer-Encoding: chunked
The receiving server should ignore the Content-Length in this case but some versions of IIS don't and consequently fail to accept the chunks that follow. |
|
Date |
User |
Action |
Args |
2019-09-30 20:24:01 | apmatthews | set | recipients:
+ apmatthews |
2019-09-30 20:24:01 | apmatthews | set | messageid: <1569875041.02.0.374553203578.issue38330@roundup.psfhosted.org> |
2019-09-30 20:24:00 | apmatthews | link | issue38330 messages |
2019-09-30 20:24:00 | apmatthews | create | |
|