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

Method security_details

playwright/sync_api/_generated.py:20511–20522  ·  view source on GitHub ↗

APIResponse.security_details Returns SSL and other security information. Resolves to `null` for non-HTTPS responses. For redirected requests, returns the information for the last request in the redirect chain. Returns ------- Union[{issuer: Union[str, None],

(self)

Source from the content-addressed store, hash-verified

20509 return mapping.from_maybe_impl(self._sync(self._impl_obj.json()))
20510
20511 def security_details(self) -> typing.Optional[SecurityDetails]:
20512 """APIResponse.security_details
20513
20514 Returns SSL and other security information. Resolves to `null` for non-HTTPS responses. For redirected requests,
20515 returns the information for the last request in the redirect chain.
20516
20517 Returns
20518 -------
20519 Union[{issuer: Union[str, None], protocol: Union[str, None], subjectName: Union[str, None], validFrom: Union[float, None], validTo: Union[float, None]}, None]
20520 """
20521
20522 return mapping.from_impl_nullable(self._sync(self._impl_obj.security_details()))
20523
20524 def server_addr(self) -> typing.Optional[RemoteAddr]:
20525 """APIResponse.server_addr

Callers

nothing calls this directly

Calls 3

from_impl_nullableMethod · 0.80
_syncMethod · 0.45
security_detailsMethod · 0.45

Tested by

no test coverage detected