File: //opt/alt/ruby32/share/gems/doc/rest-client-2.1.0/ri/RestClient/RawResponse/cdesc-RawResponse.ri
U:RDoc::NormalClass[iI"RawResponse:ETI"RestClient::RawResponse;TI"Object;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[ I"OThe response from RestClient on a raw request looks like a string, but is ;TI"Oactually one of these. 99% of the time you're making a rest call all you ;TI"Hcare about is the body, but on the occassion you want to fetch the ;TI"headers you can:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I"ARestClient.get('http://example.com').headers[:content_type]
;T:@format0o; ;[I"MIn addition, if you do not use the response as a string, you can access ;TI"Ga Tempfile object at res.file, which contains the path to the raw ;TI"downloaded request body.;T:
@fileI"#lib/restclient/raw_response.rb;T:0@omit_headings_from_table_of_contents_below0;
0;0[ [
I"
end_time;TI"R;T:publicFI"#lib/restclient/raw_response.rb;T[
I" file;T@!;F@"[
I"request;T@!;F@"[
I"start_time;T@!;F@"[ [[I"AbstractResponse;To;;[ ;
@;0@"[[I"
class;T[[;[[I"new;T@"[:protected[ [:private[ [I"
instance;T[[;[ [I" body;T@"[I"inspect;T@"[I" size;T@"[I" to_s;T@"[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;
0;0[@I"RestClient;TcRDoc::NormalModule