aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/http.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-05 07:55:36 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-05 07:55:36 +0000
commitdeee7cb19f21323112075a85fab62fa87c4db117 (patch)
treed1d8b954fb35e109ba9d0a601a679e21450da6db /lib/net/http.rb
parentde7161526014b781468cea5d84411e23be945f79 (diff)
downloadruby-deee7cb19f21323112075a85fab62fa87c4db117.tar.gz
o remove RD white lines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb5
1 files changed, 0 insertions, 5 deletions
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