merge from 3.4
Fix issue22245 - Fix urllib2_localnet test. Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
This commit is contained in:
commit
f499931b33
|
@ -238,7 +238,6 @@ class BasicAuthHandler(http.server.BaseHTTPRequestHandler):
|
|||
else:
|
||||
# Request Unauthorized
|
||||
self.do_AUTHHEAD()
|
||||
self.wfile.close()
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue