This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mitchellh
Recipients eric.araujo, mitchellh, tarek
Date 2011-10-08.14:56:27
SpamBayes Score 0.18805853
Marked as misclassified No
Message-id <1318085788.89.0.459164084672.issue13132@psf.upfronthosting.co.za>
In-reply-to
Content
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")

RFC2616 page 31 (http://tools.ietf.org/html/rfc2616#page-31) states that headers must be separated by CRLF. Specifically, the above "\n\n" for the header separator is causing issues with some minimal RFC-compliant web servers.
History
Date User Action Args
2011-10-08 14:56:28mitchellhsetrecipients: + mitchellh, tarek, eric.araujo
2011-10-08 14:56:28mitchellhsetmessageid: <1318085788.89.0.459164084672.issue13132@psf.upfronthosting.co.za>
2011-10-08 14:56:28mitchellhlinkissue13132 messages
2011-10-08 14:56:27mitchellhcreate