Commit f499931b authored by Senthil Kumaran's avatar Senthil Kumaran

merge from 3.4

Fix issue22245 - Fix urllib2_localnet test.

Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
parents 55ac5b3f a969ae2e
...@@ -238,7 +238,6 @@ class BasicAuthHandler(http.server.BaseHTTPRequestHandler): ...@@ -238,7 +238,6 @@ class BasicAuthHandler(http.server.BaseHTTPRequestHandler):
else: else:
# Request Unauthorized # Request Unauthorized
self.do_AUTHHEAD() self.do_AUTHHEAD()
self.wfile.close()
......
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