On this pagePlaywrightHttpResponse Wrapper class for playwright Response and APIResponse objects to implement HttpResponse protocol.Index Methodsfrom_playwright_responsereadread_streamPropertiesheadershttp_versionstatus_codeMethods from_playwright_responseasync from_playwright_response(response, protocol): SelfParametersresponse: Response | APIResponseprotocol: strReturns Selfreadasync read(): bytesReturns bytesread_streamasync read_stream(): AsyncGenerator[bytes, None]Returns AsyncGenerator[bytes, None]Properties headersheaders: HttpHeadershttp_versionhttp_version: strstatus_codestatus_code: int
Wrapper class for playwright
Response
andAPIResponse
objects to implementHttpResponse
protocol.