comparison 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
comparison
equal deleted inserted replaced
17427:57c6c24b9bc4 17428:72803c8edaa4
276 276
277 # will the connection close at the end of the response? 277 # will the connection close at the end of the response?
278 res.will_close = res._check_close() 278 res.will_close = res._check_close()
279 279
280 # do we have a Content-Length? 280 # do we have a Content-Length?
281 # NOTE: RFC 2616, S4.4, #3 says we ignore this if tr_enc is "chunked" 281 # NOTE: RFC 2616, section 4.4, #3 says we ignore this if
282 # transfer-encoding is "chunked"
282 length = res.msg.getheader('content-length') 283 length = res.msg.getheader('content-length')
283 if length and not res.chunked: 284 if length and not res.chunked:
284 try: 285 try:
285 res.length = int(length) 286 res.length = int(length)
286 except ValueError: 287 except ValueError: