[issue38330] httplib specifies content-length when transfer-encoding present

2020-01-10 Thread apmatthews
apmatthews added the comment: ping :) -- ___ Python tracker <https://bugs.python.org/issue38330> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38330] httplib specifies content-length when transfer-encoding present

2019-09-30 Thread apmatthews
Change by apmatthews : -- keywords: +patch pull_requests: +16090 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16501 ___ Python tracker <https://bugs.python.org/issu

[issue38330] httplib specifies content-length when transfer-encoding present

2019-09-30 Thread apmatthews
New submission from apmatthews : 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