Merge: #10510: make distuitls upload/register use HTML standards compliant CRLF.

This commit is contained in:
R David Murray 2014-09-27 16:57:51 -04:00
commit 3a54c3e3aa
4 changed files with 10 additions and 6 deletions

View file

@ -127,7 +127,7 @@ class uploadTestCase(PyPIRCCommandTestCase):
# what did we send ?
headers = dict(self.last_open.req.headers)
self.assertEqual(headers['Content-length'], '2087')
self.assertEqual(headers['Content-length'], '2163')
content_type = headers['Content-type']
self.assertTrue(content_type.startswith('multipart/form-data'))
self.assertEqual(self.last_open.req.get_method(), 'POST')