Skip to main content
server’s response to an HTTP request

Methods

close

Releases the connection back to the pool

iter_content

Iterates over the response data

iter_lines

Iterates over the response data, one line at a time

json

Decodes the JSON response body (if any) as a Python object

raise_for_status

Raises :class:HTTPError, if one occurred

Module

requests.models