Commit 9ca3f855 authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent ec8c5a93
......@@ -29,6 +29,3 @@ def test_main():
if __name__ == "__main__":
test_main()
......@@ -1003,13 +1003,13 @@ class AbstractHTTPHandler(BaseHandler):
# for Windows. That adapter calls recv(), so delegate recv()
# to read(). This weird wrapping allows the returned object to
# have readline() and readlines() methods.
# XXX It might be better to extract the read buffering code
# out of socket._fileobject() and into a base class.
r.recv = r.read
fp = socket._fileobject(r)
resp = addinfourl(fp, r.msg, req.get_full_url())
resp.code = r.status
resp.msg = r.reason
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment