Return the HTTP status code that was sent with the response, or None if the URL is not an HTTP URL.
http.client/HTTPResponse.getcode
HTTPResponse.getcode