MCPcopy
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_acceptMethod · 0.45
test_set_headerMethod · 0.45
test_etagsMethod · 0.45
test_if_range_parsingMethod · 0.45
test_range_parsingMethod · 0.45
test_user_agentFunction · 0.45
test_accept_basicMethod · 0.45

Calls

no outgoing calls

Tested by 13

test_acceptMethod · 0.36
test_set_headerMethod · 0.36
test_etagsMethod · 0.36
test_if_range_parsingMethod · 0.36
test_range_parsingMethod · 0.36
test_user_agentFunction · 0.36
test_accept_basicMethod · 0.36