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

2020-01-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi @apmatthews, thank you for the report and for the pull request. Unfortunately, Python 2.7 reached end of life on 1/1/2020, so no additional changes are being incorporated into Python 2. Looking at the documentation for Python 3, I think it's OK there (

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

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

[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 ___ _

[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') http.request("POST