HttpResponse(body: str | bytes | None = None, *, status_code: HTTPStatus | int | None = None, headers: Mapping[str, str] | None = None, mimetype: str | None = None, charset: str | None = None)
Parameters Keyword-Only Parameters Methods get_body
Response body as a bytes object.
get_bodyResponse body as a bytes object.
get_body() -> bytes
Attributes charset
Response text encoding.
A dictionary of response HTTP headers.
mimetypeResponse MIME type.
status_codeResponse status code.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
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