Commit d8bd1b9c authored by Martijn Pieters's avatar Martijn Pieters

Expanded MultiFile boundary bug comment with remark about fix in Py 2.2.

parent 2422f73e
......@@ -276,7 +276,8 @@ class TestRequestRange(unittest.TestCase):
part.rewindbody()
body = part.fp.read()
# Whotcha! Bug in MultiFile; the CRLF that is part of the boundary
# is returned as part of the body.
# is returned as part of the body. Note that this bug is resolved
# in Python 2.2.
if body[-2:] == '\r\n':
body = body[:-2]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment