Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/authlib/authlib
/ assert_headers
Function
assert_headers
tests/clients/test_starlette/test_oauth_client.py:369–370 ·
view source on GitHub ↗
(req)
Source
from the content-addressed store, hash-verified
367
@pytest.mark.asyncio
368
async
def
test_oauth2_fetch_metadata():
369
def
assert_headers(req):
370
assert
"Authlib/"
in req.headers.get(
"user-agent"
,
""
)
371
372
oauth = OAuth()
373
transport = ASGITransport(
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected