2007-02-23 11:33:05 |
jayesh |
description |
$bzr version
0.14
$python
2.4.1
$http_proxy
http://name:pass@192.168.1.1:3128
$bzr branch http://bazaar-vcs.org/bzr/bzr.dev bzr.dev
bzr: ERROR: Invalid http response for http://bazaar-vcs.org/bzr/bzr.dev/.bzr/branch-format: Unable to handle http code 407: Proxy Authentication Required
In Module
.../bzrlib/transport/http/_urllib2_wrappers.py
In Function " def http_response(self, request, response)"
(pdb) request.headers
{'Accept': '*/*', 'User-agent': 'bzr/0.14.0 (urllib)', 'Connection': 'Keep-Alive', 'Proxy-authorization': 'Basic name:passwd', 'Pragma': 'no-cache', 'Cache-control': 'max-age=0'}
(Pdb) response.code
407
(Pdb) response.headers.headers
['Server: squid/2.5.STABLE3\r\n', 'Mime-Version: 1.0\r\n', 'Date: Fri, 23 Feb 2007 10:09:33 GMT\r\n', 'Content-Type: text/html\r\n', 'Content-Length: 1416\r\n', 'Expires: Fri, 23 Feb 2007 10:09:33 GMT\r\n', 'X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0\r\n', 'Proxy-Authenticate: Basic realm="xxxxx"\r\n', 'X-Cache: MISS from epicure.zeomega.org\r\n', 'Proxy-Connection: keep-alive\r\n'] |
$bzr version
0.14
$python
2.4.1
$http_proxy
http://name:passwd@192.168.1.1:3128
$bzr branch http://bazaar-vcs.org/bzr/bzr.dev bzr.dev
bzr: ERROR: Invalid http response for http://bazaar-vcs.org/bzr/bzr.dev/.bzr/branch-format: Unable to handle http code 407: Proxy Authentication Required
In Module
.../bzrlib/transport/http/_urllib2_wrappers.py
In Function " def http_response(self, request, response)"
(pdb) request.headers
{'Accept': '*/*', 'User-agent': 'bzr/0.14.0 (urllib)', 'Connection': 'Keep-Alive', 'Proxy-authorization': 'Basic name:passwd', 'Pragma': 'no-cache', 'Cache-control': 'max-age=0'}
(Pdb) response.code
407
(Pdb) response.headers.headers
['Server: squid/2.5.STABLE3\r\n', 'Mime-Version: 1.0\r\n', 'Date: Fri, 23 Feb 2007 10:09:33 GMT\r\n', 'Content-Type: text/html\r\n', 'Content-Length: 1416\r\n', 'Expires: Fri, 23 Feb 2007 10:09:33 GMT\r\n', 'X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0\r\n', 'Proxy-Authenticate: Basic realm="xxxxx"\r\n', 'X-Cache: MISS from epicure.zeomega.org\r\n', 'Proxy-Connection: keep-alive\r\n'] |
|