Mercurial > public > mercurial-scm > hg
diff mercurial/url.py @ 17428:72803c8edaa4
avoid using abbreviations that look like spelling errors
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 27 Aug 2012 23:14:27 +0200 |
parents | e7cfe3587ea4 |
children | ffec6d0a5ed6 |
line wrap: on
line diff
--- 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: