Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ has_proxy
Method
has_proxy
Lib/urllib/request.py:366–367 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
364
self.host = host
365
366
def
has_proxy(self):
367
return
self.selector == self.full_url
368
369
def
add_header(self, key, val):
370
# useful for something like authentication
Callers
2
test_proxy
Method · 0.80
do_request_
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_proxy
Method · 0.64