Message145171
| 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:28 | mitchellh | set | recipients:
+ mitchellh, tarek, eric.araujo |
| 2011年10月08日 14:56:28 | mitchellh | set | messageid: <1318085788.89.0.459164084672.issue13132@psf.upfronthosting.co.za> |
| 2011年10月08日 14:56:28 | mitchellh | link | issue13132 messages |
| 2011年10月08日 14:56:27 | mitchellh | create |
|