changeset 17428 | 72803c8edaa4 |
parent 17424 | e7cfe3587ea4 |
child 18176 | ffec6d0a5ed6 |
--- a/mercurial/url.py Tue Aug 21 02:41:20 2012 +0200 +++ b/mercurial/url.py Mon Aug 27 23:14:27 2012 +0200 @@ -278,7 +278,8 @@ res.will_close = res._check_close() # do we have a Content-Length? - # NOTE: RFC 2616, S4.4, #3 says we ignore this if tr_enc is "chunked" + # NOTE: RFC 2616, section 4.4, #3 says we ignore this if + # transfer-encoding is "chunked" length = res.msg.getheader('content-length') if length and not res.chunked: try: