MCPcopy Index your code
hub / github.com/httpie/cli / ExplicitNullAuth

Class ExplicitNullAuth

httpie/utils.py:124–130  ·  view source on GitHub ↗

Forces requests to ignore the ``.netrc``.

Source from the content-addressed store, hash-verified

122
123
124class ExplicitNullAuth(requests.auth.AuthBase):
125 """Forces requests to ignore the ``.netrc``.
126 <https://github.com/psf/requests/issues/2773#issuecomment-174312831>
127 """
128
129 def __call__(self, r):
130 return r
131
132
133def get_content_type(filename):

Callers 1

_process_authMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected