Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0x676e67/wreq-python
/ main
Function
main
python/examples/basic_auth.py:5–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
4
5
async
def
main():
6
resp = await rnet.get(
7
"https://httpbin.org/anything"
,
8
basic_auth=(
"username"
,
"password"
),
9
)
10
print(await resp.text())
11
12
13
if
__name__ ==
"__main__"
:
Callers
1
basic_auth.py
File · 0.70
Calls
2
get
Method · 0.45
text
Method · 0.45
Tested by
no test coverage detected