HTTPRequest.status_code#
- property HTTPRequest.status_code: HTTPStatusCode
Get the status code of the response.
- Returns:
The status code of the response.
- Return type:
- Raises:
RuntimeError – If the request is not completed yet.
Get the status code of the response.
The status code of the response.
RuntimeError – If the request is not completed yet.