Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/httpie/cli
/ basic_auth
Function
basic_auth
tests/test_auth_plugins.py:20–26 ·
view source on GitHub ↗
(header=BASIC_AUTH_HEADER_VALUE)
Source
from the content-addressed store, hash-verified
18
19
20
def
basic_auth(header=BASIC_AUTH_HEADER_VALUE):
21
22
def
inner(r):
23
r.headers[
'Authorization'
] = header
24
return
r
25
26
return
inner
27
28
29
def
test_auth_plugin_parse_auth_false(httpbin):
Callers
2
get_auth
Method · 0.85
get_auth
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected