MCPcopy
hub / github.com/psf/requests / __call__

Method __call__

src/requests/auth.py:111–113  ·  view source on GitHub ↗
(self, r: PreparedRequest)

Source from the content-addressed store, hash-verified

109 return not self == other
110
111 def __call__(self, r: PreparedRequest) -> PreparedRequest:
112 r.headers["Authorization"] = _basic_auth_str(self.username, self.password)
113 return r
114
115
116class HTTPProxyAuth(HTTPBasicAuth):

Callers

nothing calls this directly

Calls 1

_basic_auth_strFunction · 0.85

Tested by

no test coverage detected