Class: RestClient::Response

Class | RestClient::Response
In: | lib/restclient/response.rb
Parent: | String

The response from RestClient looks like a string, but is actually one of these. 99% of the time you‘re making a rest call all you care about is the body, but on the occassion you want to fetch the headers you can:

      RestClient.get('http://example.com').headers[:content_type]

### Methods

new

### Included Modules

RestClient::Mixin::Response

### Public Class methods

new(string, net_http_res)

[Validate]