status_code Property
Contains the Status Code element of the server's response.
Syntax
def get_status_code() -> int: ...
status_code = property(get_status_code, None)
Default Value
0
Remarks
Use this property to access the status code supplied by the server in its response (such as 200 in HTTP 200 OK).
This property is read-only.