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

Method get

playwright/_impl/_network.py:1039–1044  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

1037 return RawHeaders(serialize_headers(headers))
1038
1039 def get(self, name: str) -> Optional[str]:
1040 values = self.get_all(name)
1041 if not values:
1042 return None
1043 separator = "\n" if name.lower() == "set-cookie" else ", "
1044 return separator.join(values)
1045
1046 def get_all(self, name: str) -> List[str]:
1047 return list(self._headers_map[name.lower()].keys())

Callers 15

headersMethod · 0.95
latest_lts_versionFunction · 0.45
__init__Method · 0.45
print_entryMethod · 0.45
print_event_overloadsMethod · 0.45
print_remainderMethod · 0.45
works_for_pythonFunction · 0.45
name_or_aliasFunction · 0.45
self_or_overrideFunction · 0.45
apply_type_or_overrideFunction · 0.45
from_maybe_implMethod · 0.45

Calls 1

get_allMethod · 0.95