From deee7cb19f21323112075a85fab62fa87c4db117 Mon Sep 17 00:00:00 2001 From: aamine Date: Wed, 5 Jan 2000 07:55:36 +0000 Subject: o remove RD white lines git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/http.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/net/http.rb') diff --git a/lib/net/http.rb b/lib/net/http.rb index 6c1161ee9c..3f0f47e31e 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -27,29 +27,24 @@ class HTTPBadResponse < HTTPError; end == Class Methods : new( address, port = 80 ) - create new HTTP object. : port - returns HTTP default port, 80 : command_type - returns Command class, HTTPCommand == Methods : get( path, header = nil, ret = '' ) - get data from "path" on connecting host. "header" is a Hash like { 'Accept' => '*/*', ... }. The data will be written to "ret" using "<<" method. This method returns response header (Hash) and "ret". : head( path, header = nil ) - get only header from "path" on connecting host. "header" is a Hash like { 'Accept' => '*/*', ... }. This method returns header as a Hash like -- cgit v1.2.3