Define the interface that any HTTP response object must implement.
Index Methods readRead the entire content of the response body.
This method loads the complete response body into memory at once. It should be used for responses received from regular HTTP requests (via send_request
or crawl
methods).
Iterate over the content of the response body in chunks.
This method should be used for responses received from the stream
method to process large response bodies without loading them entirely into memory. It allows for efficient processing of potentially large data by yielding chunks sequentially.
The HTTP headers received in the response.
http_versionThe HTTP version used in the response.
status_codeThe HTTP status code received from the server.
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