mercurial/httpconnection.py
changeset 48946 642e31cb55f0
parent 48913 f254fc73d956
equal deleted inserted replaced
48945:55d132525155 48946:642e31cb55f0
    24 
    24 
    25 urlerr = util.urlerr
    25 urlerr = util.urlerr
    26 urlreq = util.urlreq
    26 urlreq = util.urlreq
    27 
    27 
    28 # moved here from url.py to avoid a cycle
    28 # moved here from url.py to avoid a cycle
    29 class httpsendfile(object):
    29 class httpsendfile:
    30     """This is a wrapper around the objects returned by python's "open".
    30     """This is a wrapper around the objects returned by python's "open".
    31 
    31 
    32     Its purpose is to send file-like objects via HTTP.
    32     Its purpose is to send file-like objects via HTTP.
    33     It do however not define a __len__ attribute because the length
    33     It do however not define a __len__ attribute because the length
    34     might be more than Py_ssize_t can handle.
    34     might be more than Py_ssize_t can handle.