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 jimr
Recipients demian.brecht, jimr
Date 2015-02-27.19:24:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
OK, I've got a patch but it's failing on 'test_send_file'[1], which is sending a body on a GET request. According to the IETF memo[2]:

   Bodies on GET requests have no defined semantics.  Note that sending
   a body on a GET request might cause some existing implementations to
   reject the request.

So I don't know whether to remove the method constraint so this test passes, or to "fix" this test to use a different method. My feeling is that stripping out Content-Length for GET requests could cause problems for some code that for whatever reason uses this, so we should remove that constraint (it was only "SHOULD NOT" after all) and go back to the original proposal of just setting the content length for bodies that are None as well as empty strings.

Date User Action Args
2015-02-27 19:24:27jimrsetrecipients: + jimr, demian.brecht
2015-02-27 19:24:27jimrsetmessageid: <>
2015-02-27 19:24:27jimrlinkissue23539 messages
2015-02-27 19:24:27jimrcreate