mirror of https://github.com/python/cpython
bug [ 1175848 ] poorly named variable in urllib2.py
This commit is contained in:
parent
07c81d9074
commit
8d457c78b4
|
@ -277,8 +277,8 @@ class Request:
|
|||
|
||||
class OpenerDirector:
|
||||
def __init__(self):
|
||||
server_version = "Python-urllib/%s" % __version__
|
||||
self.addheaders = [('User-agent', server_version)]
|
||||
client_version = "Python-urllib/%s" % __version__
|
||||
self.addheaders = [('User-agent', client_version)]
|
||||
# manage the individual handlers
|
||||
self.handlers = []
|
||||
self.handle_open = {}
|
||||
|
|
Loading…
Reference in New Issue