equal
deleted
inserted
replaced
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. |