Show More
@@ -59,6 +59,8 b' class httprepository(remoterepository):' | |||
|
59 | 59 | authinfo = urllib2.ProxyBasicAuthHandler(passmgr) |
|
60 | 60 | |
|
61 | 61 | opener = urllib2.build_opener(proxy_handler, authinfo) |
|
62 | # 1.0 here is the _protocol_ version | |
|
63 | opener.addheaders = [('User-agent', 'mercurial/proto-1.0')] | |
|
62 | 64 | urllib2.install_opener(opener) |
|
63 | 65 | |
|
64 | 66 | def dev(self): |
General Comments 0
You need to be logged in to leave comments.
Login now