Message253971
Are you able to print out the repr() of the header or the entire HTTP response so we can see exactly what characters are there? Or provide a URL if it is a public server. I suspect it may not be a completely blank line, but may have whitespace there.
Both Python 2 and 3 should stop parsing the HTTP header when they meet a blank line (two CRLFs in a row). This marks the start of the HTTP body. See <https://tools.ietf.org/html/rfc7230#section-3>. |
|
Date |
User |
Action |
Args |
2015-11-03 08:47:15 | martin.panter | set | recipients:
+ martin.panter, 신동원 |
2015-11-03 08:47:15 | martin.panter | set | messageid: <1446540435.16.0.76418329253.issue25539@psf.upfronthosting.co.za> |
2015-11-03 08:47:15 | martin.panter | link | issue25539 messages |
2015-11-03 08:47:14 | martin.panter | create | |
|