aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/http.rb
Commit message (Collapse)AuthorAgeFilesLines
* o protocol.rb, smtp.rb, pop.rb, http.rb: define all#inspect()aamine2000-06-121-19/+54
| | | | | | | o protocol.rb, smtp.rb, pop.rb, http.rb: modify/add documents git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o http.rb: body is in HTTPResponseaamine2000-06-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o protocol.rb: ProtocolError can take dataaamine2000-06-091-1/+17
| | | | | | | o http.rb: raise exception with response git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o smtp.rb: not catch NameError in authaamine2000-06-011-6/+8
| | | | | | | | o http.rb: not close connection in get_body, Only connection() closes socket git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* p http.rb: do not use Regexp "p" optionaamine2000-05-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o protocol.rb, http.rb, smtp.rb, pop.rb: update RD documentsaamine2000-05-181-5/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* protocol.rb version 1.1.17aamine2000-05-051-1/+11
| | | | | | | | o http.rb: 'Host:' field includes port if port != 80 o http.rb: see also 'proxy-connection:' field git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* {protocol,smtp,pop,http}.rb 1.1.15aamine2000-04-221-56/+38
| | | | | | | | | | o http.rb: (keep_alive?) use both user header and response o http.rb: (connecting) returns response o http.rb: (connecting) proc u_header and yield it o http.rb: (connecting) call user block in conecting git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* {protocol,smtp,pop}.rb version 1.1.14aamine2000-04-181-48/+57
| | | | | | | | | | | | | o http.rb: HTTP#head2 o http.rb: HTTPResponse#value o http.rb: get2/post2 returns response header o http.rb: *2 does not raise exceptions o smtp.rb: try esmtp only first time o protocol.rb: remove error_occured o protocol.rb: Command#error! does not take argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o pop.rb: accept illegal timestamp (reported by WATANABE Hirofumi)aamine2000-04-141-10/+7
| | | | | | | o http.rb: when body was chunked, does not set 'Content-Length' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* protocol.rb smtp.rb pop.rb http.rb version 1.1.12aamine2000-03-311-152/+216
| | | | | | | | | | o protocol.rb: update Net::Protocol::Proxy#connect o protocol.rb: ReplyCode is not a class o http.rb: header value does not include header name o http.rb: header is not a Hash, but HTTPResponse git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* v1.1.11aamine2000-03-271-105/+242
| | | | | | | | | | | | | o all: use "critical" to avoid duplicated command dispatch o http.rb: change get2, post2 usage (HTTPWriter) o http.rb: entity reading algorithm is better o http.rb: more reply code (4xx, 5xx) o protocol.rb: arguments of "connect" can be omitted o protocol.rb: "quit" is not template method (now do_quit is removed) o protocol.rb: ReplyCode.error_type was not work: using module_eval git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o http.rb: return value of 'head' was wrongaamine2000-03-261-17/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o protocol.rb: version 1.1.9aamine2000-03-261-113/+246
| | | | | | | o smtp.rb: arguments discription of do_ready was wrongly void git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* net Version 1.1.7aamine2000-03-081-1/+3
| | | | | | | o http.rb: HTTP#connecting() returns header again git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Version 1.1.6aamine2000-03-051-25/+40
| | | | | | | | | | | | | o all: use 'attr_reader/writer' instead of 'attr' o http.rb: get/head allow implicit 'start' o http.rb: change connection state algorithm o http.rb: process user header before write o protocol.rb: refine start/finish o protocol.rb: Command#last_reply o protocol.rb: ReplyCode.error! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o session.rb -> protocol.rbaamine2000-02-211-2/+10
| | | | | | | | | o write, write_pendstr takes block o smtp.ready o popmail.pop takes block git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Version 1.1.4aamine2000-01-211-7/+9
| | | | | | | o (HTTP) allow no content-length data git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o remove RD white linesaamine2000-01-051-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Net version 1.1.3aamine1999-12-291-179/+225
| | | | | | | | o http.rb rd o Session -> Protocol git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Version 1.1.2aamine1999-12-221-16/+46
| | | | | | | | o proxy, version 1 o use fullpath shvar git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Version 1.1.1aamine1999-12-201-6/+45
| | | | | | | o HTTP chunk data git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Version 1.1.0aamine1999-12-171-0/+200
o http.rb o support class swap o Net.quote git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e