Module RestClient::AbstractResponse
In: lib/restclient/abstract_response.rb

Methods

Attributes

args  [R] 
net_http_res  [R] 

Public Class methods

Public Instance methods

HTTP status code

Hash of cookies extracted from response headers

A hash of the headers, beautified with symbols and underscores. e.g. "Content-type" will become :content_type.

Return the default behavior corresponding to the response code: the response itself for code in 200..206, redirection for 301, 302 and 307 in get and head cases, redirection for 303 and an exception in other cases

[Validate]