mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Fix issue22245 - Fix urllib2_localnet test.
Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
This commit is contained in:
parent
783737625d
commit
a969ae2e11
1 changed files with 0 additions and 1 deletions
|
|
@ -238,7 +238,6 @@ class BasicAuthHandler(http.server.BaseHTTPRequestHandler):
|
||||||
else:
|
else:
|
||||||
# Request Unauthorized
|
# Request Unauthorized
|
||||||
self.do_AUTHHEAD()
|
self.do_AUTHHEAD()
|
||||||
self.wfile.close()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue