Gets the status code of the response, the list of the possible values is in HTTP_STATUS constants.
In case there was an exception executing the request, please ignore/do not use this value (it will be 0).
You can check that situation using response.getException(). |