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

Method all_headers

playwright/sync_api/_generated.py:390–400  ·  view source on GitHub ↗

Request.all_headers An object with all the request HTTP headers associated with this request. The header names are lower-cased. Returns ------- Dict[str, str]

(self)

Source from the content-addressed store, hash-verified

388 return mapping.from_maybe_impl(self._impl_obj.is_navigation_request())
389
390 def all_headers(self) -> typing.Dict[str, str]:
391 """Request.all_headers
392
393 An object with all the request HTTP headers associated with this request. The header names are lower-cased.
394
395 Returns
396 -------
397 Dict[str, str]
398 """
399
400 return mapping.from_maybe_impl(self._sync(self._impl_obj.all_headers()))
401
402 def headers_array(self) -> typing.List[NameValue]:
403 """Request.headers_array

Callers 1

all_headersMethod · 0.45

Calls 2

from_maybe_implMethod · 0.80
_syncMethod · 0.45

Tested by

no test coverage detected