A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://playwright.bootcss.com/python/docs/api/class-response below:

Response | Playwright

Response class represents responses which are received by page.

response.body()#

Returns the buffer with response body.

response.finished()#

Waits for this response to finish, returns failure error if request failed.

response.frame#

Returns the Frame that initiated this response.

response.headers#

Returns the object with HTTP headers associated with the response. All header names are lower-case.

response.json()#

Returns the JSON representation of response body.

This method will throw if the response body is not parsable via JSON.parse.

response.ok#

Contains a boolean stating whether the response was successful (status in the range 200-299) or not.

response.request#

Returns the matching Request object.

response.status#

Contains the status code of the response (e.g., 200 for a success).

response.status_text#

Contains the status text of the response (e.g. usually an "OK" for a success).

response.text()#

Returns the text representation of response body.

response.url#

Contains the URL of the response.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4