Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/werkzeug
/ to_header
Method
to_header
src/werkzeug/user_agent.py:45–47 ·
view source on GitHub ↗
Convert to a header value.
(self)
Source
from the content-addressed store, hash-verified
43
return
bool(self.browser)
44
45
def
to_header(self) -> str:
46
""
"Convert to a header value."
""
47
return
self.string
Callers
13
test_accept
Method · 0.45
test_set_header
Method · 0.45
test_cache_control_header
Method · 0.45
test_authorization_ignore_invalid_parameters
Method · 0.45
test_etags
Method · 0.45
test_if_range_parsing
Method · 0.45
test_range_parsing
Method · 0.45
test_content_range_parsing
Method · 0.45
test_authorization_to_header
Function · 0.45
test_user_agent
Function · 0.45
test_common_response_descriptors
Function · 0.45
test_accept_basic
Method · 0.45
Calls
no outgoing calls
Tested by
13
test_accept
Method · 0.36
test_set_header
Method · 0.36
test_cache_control_header
Method · 0.36
test_authorization_ignore_invalid_parameters
Method · 0.36
test_etags
Method · 0.36
test_if_range_parsing
Method · 0.36
test_range_parsing
Method · 0.36
test_content_range_parsing
Method · 0.36
test_authorization_to_header
Function · 0.36
test_user_agent
Function · 0.36
test_common_response_descriptors
Function · 0.36
test_accept_basic
Method · 0.36