Class: Gem::Net::HTTPClientError
- Inherits:
-
HTTPResponse
- Object
- HTTPResponse
- Gem::Net::HTTPClientError
- Defined in:
- lib/rubygems/vendor/net-http/lib/net/http/responses.rb
Overview
Direct Known Subclasses
HTTPBadRequest, HTTPConflict, HTTPExpectationFailed, HTTPFailedDependency, HTTPForbidden, HTTPGone, HTTPLengthRequired, HTTPLocked, HTTPMethodNotAllowed, HTTPMisdirectedRequest, HTTPNotAcceptable, HTTPNotFound, HTTPPayloadTooLarge, HTTPPaymentRequired, HTTPPreconditionFailed, HTTPPreconditionRequired, HTTPProxyAuthenticationRequired, HTTPRangeNotSatisfiable, HTTPRequestHeaderFieldsTooLarge, HTTPRequestTimeout, HTTPTooManyRequests, HTTPURITooLong, HTTPUnauthorized, HTTPUnavailableForLegalReasons, HTTPUnprocessableEntity, HTTPUnsupportedMediaType, HTTPUpgradeRequired
Constant Summary collapse
- HAS_BODY =
true
- EXCEPTION_TYPE =
HTTPClientException
Constants inherited from HTTPResponse
Gem::Net::HTTPResponse::CODE_CLASS_TO_OBJ, Gem::Net::HTTPResponse::CODE_TO_OBJ
Constants included from HTTPHeader
Gem::Net::HTTPHeader::MAX_FIELD_LENGTH, Gem::Net::HTTPHeader::MAX_KEY_LENGTH
Instance Attribute Summary
Attributes inherited from HTTPResponse
#body_encoding, #code, #decode_content, #http_version, #ignore_eof, #message, #uri
Method Summary
Methods inherited from HTTPResponse
#body, #body=, body_permitted?, #code_type, #error!, #error_type, exception_type, #header, #initialize, #inspect, #read_body, #read_header, read_new, #reading_body, #response, #value
Methods included from HTTPHeader
#[], #[]=, #add_field, #basic_auth, #chunked?, #connection_close?, #connection_keep_alive?, #content_length, #content_length=, #content_range, #content_type, #delete, #each_capitalized, #each_capitalized_name, #each_header, #each_name, #each_value, #fetch, #get_fields, #initialize_http_header, #key?, #main_type, #proxy_basic_auth, #range, #range_length, #set_content_type, #set_form, #set_form_data, #set_range, #size, #sub_type, #to_hash, #type_params
Constructor Details
This class inherits a constructor from Gem::Net::HTTPResponse