[issue13132] distutils sends non-RFC compliant HTTP request

2011-10-22 Thread Éric Araujo
Éric Araujo added the comment: The requests we send are multipart/form-data, so the RFC exception for text/* would not apply. I’m closing this bug as a duplicate and will ask on the other one if we should reopen it. -- resolution: -> duplicate stage: -> committed/rejected status: p

[issue13132] distutils sends non-RFC compliant HTTP request

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: Will close if no further input. -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list

[issue13132] distutils sends non-RFC compliant HTTP request

2011-10-17 Thread Éric Araujo
Éric Araujo added the comment: http://tools.ietf.org/html/rfc2616#section-3.7.1 > When in canonical form, media subtypes of the "text" type use CRLF as > the text line break. HTTP relaxes this requirement and allows the > transport of text media with plain CR or LF alone representing a line > b

[issue13132] distutils sends non-RFC compliant HTTP request

2011-10-08 Thread Éric Araujo
Éric Araujo added the comment: Hi Mitchell, thanks for your interest in Python. Using CLRF was requested before (#10510) and rejected on the ground that the RFC (at least for HTTP 1.0) allows LF. CRLF is preferred but not required. Hence, we deem it is not a bug. The register, upload and u

[issue13132] distutils sends non-RFC compliant HTTP request

2011-10-08 Thread Mitchell Hashimoto
Mitchell Hashimoto added the comment: Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file23345/issue13132.patch ___ Python tracker ___ __

[issue13132] distutils sends non-RFC compliant HTTP request

2011-10-08 Thread Mitchell Hashimoto
New submission from Mitchell Hashimoto : In ``Lib/distutils/command/register.py`` as well as ``upload.py``, the following code exists to build the HTTP request body to send to the cheese shop server: body.write('\nContent-Disposition: form-data; name="%s"'%key) body.write("\n\n") RFC2