PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Net
/
HTTPResponse
U:RDoc::AnyMethod[iI" body:ETI"Net::HTTPResponse#body;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"'Returns the string response body; ;TI"Mnote that repeated calls for the unmodified body return a cached string:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"path = '/todos/1' ;TI")Net::HTTP.start(hostname) do |http| ;TI" res = http.get(path) ;TI" p res.body ;TI") p http.head(path).body # No body. ;TI" end ;T:@format0o; ; [I"Output:;T@o;; [I"j"{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}" ;TI"nil;T; 0: @fileI"lib/net/http/response.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI"HTTPResponse;TcRDoc::NormalClass00
[-] decode_content-i.ri
[edit]
[-] http_version-i.ri
[edit]
[-] code-i.ri
[edit]
[-] message-i.ri
[edit]
[-] response_class-c.ri
[edit]
[-] uri-i.ri
[edit]
[-] body%3d-i.ri
[edit]
[-] read_status_line-c.ri
[edit]
[-] body_encoding%3d-i.ri
[edit]
[-] body-i.ri
[edit]
[-] ignore_eof-i.ri
[edit]
[-] body_encoding-i.ri
[edit]
[-] each_response_header-c.ri
[edit]
[-] cdesc-HTTPResponse.ri
[edit]
[-] body_permitted%3f-c.ri
[edit]
[+]
..
[-] inspect-i.ri
[edit]
[-] value-i.ri
[edit]
[-] read_body-i.ri
[edit]