Class: Net::HTTPNotAcceptable

Inherits:
HTTPClientError show all
Defined in:
lib/net/http.rb

Overview

406

Constant Summary

HAS_BODY =
true

Constants inherited from HTTPClientError

Net::HTTPClientError::EXCEPTION_TYPE

Constants inherited from HTTPResponse

Net::HTTPResponse::CODE_CLASS_TO_OBJ, Net::HTTPResponse::CODE_TO_OBJ

Instance Attribute Summary

Attributes inherited from HTTPResponse

#code, #http_version, #message

Method Summary

Methods inherited from HTTPResponse

#body, body_permitted?, #code_type, #error!, #error_type, exception_type, #header, #initialize, #inspect, #read_body, #read_header, read_new, #reading_body, #response, #to_ary, #value

Methods included from HTTPHeader

#[], #[]=, #add_field, #basic_auth, #chunked?, #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_data, #set_range, #size, #sub_type, #to_hash, #type_params

Constructor Details

This class inherits a constructor from Net::HTTPResponse