HTTPProxyAuth Class — requests Architecture
Architecture documentation for the HTTPProxyAuth class in auth.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 6c0440c8_e7cb_7c5f_9239_45ea11bd0097["HTTPProxyAuth"] c41420c2_875d_0fc2_d80e_b4d487807e05["HTTPBasicAuth"] 6c0440c8_e7cb_7c5f_9239_45ea11bd0097 -->|extends| c41420c2_875d_0fc2_d80e_b4d487807e05 d7a739b0_e73b_9565_f5ed_5e8c24943504["auth.py"] 6c0440c8_e7cb_7c5f_9239_45ea11bd0097 -->|defined in| d7a739b0_e73b_9565_f5ed_5e8c24943504 3f17a414_17be_20df_2bf2_361bb6dedc32["__call__()"] 6c0440c8_e7cb_7c5f_9239_45ea11bd0097 -->|method| 3f17a414_17be_20df_2bf2_361bb6dedc32
Relationship Graph
Source Code
src/requests/auth.py lines 99–104
class HTTPProxyAuth(HTTPBasicAuth):
"""Attaches HTTP Proxy Authentication to a given Request object."""
def __call__(self, r):
r.headers["Proxy-Authorization"] = _basic_auth_str(self.username, self.password)
return r
Domain
Defined In
Extends
Source
Frequently Asked Questions
What is the HTTPProxyAuth class?
HTTPProxyAuth is a class in the requests codebase, defined in src/requests/auth.py.
Where is HTTPProxyAuth defined?
HTTPProxyAuth is defined in src/requests/auth.py at line 99.
What does HTTPProxyAuth extend?
HTTPProxyAuth extends HTTPBasicAuth.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free