aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* matzmatz2000-06-285-7/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.24.aamine2000-06-272-94/+192
| | | | | | | | | | | | | | * lib/net/protocol.rb: modified each_crlf_line again. * lib/net/protocol.rb: do_write_beg,do_write_end -> writing{} do_write_do -> do_write * lib/net/http.rb: can make proxy connection by passing addresses to HTTP.new, start. * lib/net/http.rb: HTTP.new_implementation, old_implementation: can use 1.2 implementation of head, get, post, put. (see document) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-06-23matz2000-06-231-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-06-22matz2000-06-221-14/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***shugo2000-06-221-9/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue Jun 20 06:14:43 2000 Wakou Aoyama <wakou@fsinet.or.jp>wakou2000-06-192-873/+770
| | | | | | | | | * lib/cgi.rb: change: version syntax. old: x.yz, now: x.y.z * lib/net/telnet.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-06-19eban2000-06-191-6/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* expand tabs: lib/cgi.rb, lib/net/telnet.rbwakou2000-06-172-493/+493
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fri Jun 16 22:56:02 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>aamine2000-06-161-53/+38
| | | | | | | | | * protocol.rb (each_crlf_line): too many CRLF is concat-ed: remove each_crlf_line2(), @wbuf * protocol.rb: CRLF -> "\r\n", D_CRLF -> ".\r\n", strip //o git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jun 14 00:50:14 2000 Wakou Aoyama <wakou@fsinet.or.jp>wakou2000-06-131-3/+14
| | | | | | | * lib/cig.rb: read_multipart(): if no content body then raise EOFError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pstore abort handlematz2000-06-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o protocol.rb, smtp.rb, pop.rb, http.rb: define all#inspect()aamine2000-06-124-109/+151
| | | | | | | 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-122-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-06-12matz2000-06-122-11/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o protocol.rb: ProtocolError can take dataaamine2000-06-092-4/+31
| | | | | | | o http.rb: raise exception with response git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-06-05matz2000-06-051-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* CONFIG["libdir"]eban2000-06-041-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sun Jun 4 03:17:36 2000 Wakou Aoyama <wakou@fsinet.or.jp>wakou2000-06-031-28/+30
| | | | | | | * lib/cig.rb: improve: CGI::pretty() git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* see ChangeLogeban2000-06-031-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o smtp.rb: not catch NameError in authaamine2000-06-013-11/+12
| | | | | | | | 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
* 2000-05-31matz2000-05-311-17/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed May 31 04:06:41 2000 Wakou Aoyama <wakou@fsinet.or.jp>wakou2000-05-301-3/+12
| | | | | | | | * lib/cgi.rb: change: CGI#out() if "HEAD" == REQUEST_METHOD then output only HTTP header. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-30matz2000-05-302-6/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* see ChangeLog.eban2000-05-291-9/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp>wakou2000-05-242-24/+81
| | | | | | | | * lib/cgi.rb bug fix: CGI::escape(), CGI::Cookie::new() * lib/net/telnet.rb improve: binmode(), telnetmode() interface git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-24matz2000-05-242-68/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* p http.rb: do not use Regexp "p" optionaamine2000-05-222-3/+3
| | | | 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-184-22/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o protocol.rb: Protocol#start yields selfaamine2000-05-173-16/+9
| | | | | | | | o smtp.rb: use Socket.gethostname to get localhost name p pop.rb: use MD5#hexdigest git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix bug; support mingw32.eban2000-05-141-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* escape `/'.eban2000-05-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support mingw32.eban2000-05-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-12matz2000-05-1215-3/+3128
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* telnet.rb Version 1.32wakou2000-05-091-25/+27
| | | | | | | - require English.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-09matz2000-05-097-202/+223
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* protocol.rb version 1.1.17aamine2000-05-052-2/+12
| | | | | | | | 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
* 2000-05-01matz2000-05-017-885/+992
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version 1.1.16aamine2000-04-252-7/+56
| | | | | | | o smtp.rb: SMTP AUTH (contributed by Kazuhiro Izawa) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* {protocol,smtp,pop,http}.rb 1.1.15aamine2000-04-222-57/+39
| | | | | | | | | | 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
* 2000-04-21matz2000-04-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* {protocol,smtp,pop}.rb version 1.1.14aamine2000-04-183-72/+82
| | | | | | | | | | | | | 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-143-14/+11
| | | | | | | 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
* mkmfmatz2000-04-121-4/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-04-10matz2000-04-103-592/+162
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* protocol.rb smtp.rb pop.rb http.rb version 1.1.12aamine2000-03-314-266/+332
| | | | | | | | | | 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-274-173/+350
| | | | | | | | | | | | | 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-262-18/+22
| | | | 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-264-347/+285
| | | | | | | 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
* 2000-03-23matz2000-03-233-186/+696
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-03-17matz2000-03-174-27/+56
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e