MCPcopy Index your code
hub / github.com/microsoft/playwright-python / serialize_headers

Function serialize_headers

playwright/_impl/_network.py:87–92  ·  view source on GitHub ↗
(headers: Dict[str, str])

Source from the content-addressed store, hash-verified

85
86
87def serialize_headers(headers: Dict[str, str]) -> HeadersArray:
88 return [
89 {"name": name, "value": value}
90 for name, value in headers.items()
91 if value is not None
92 ]
93
94
95async def to_client_certificates_protocol(

Callers 10

new_contextMethod · 0.90
_inner_fetchMethod · 0.90
connect_over_cdpMethod · 0.90
_actual_headersMethod · 0.85
_inner_fulfillMethod · 0.85
_inner_continueMethod · 0.85

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected