summaryrefslogtreecommitdiffstats
path: root/lib/net
Commit message (Collapse)AuthorAgeFilesLines
...
* aamineaamine2000-11-162-135/+164
| | | | | | | | | | | | | | * lib/net/http.rb: can call {old,new}_implementation any times. * lib/net/http.rb: HTTP#connecting, receive -> common_oper, connecting. * lib/net/http.rb: output warning if u_header includes duplicated header. * lib/net/http.rb: not check Connection:/Proxy-Connection; always read until eof. * lib/net/protocol: detects and catches "break" from block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-11-104-102/+180
| | | | | | | | | * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.31 * lib/net/http.rb: initializes header in HTTP, not HTTPCommand * lib/net/protocol.rb, http.rb: rewrites proxy code git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-11-074-70/+96
| | | | | | | | | * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.30 * lib/net/protocol.rb, smtp.rb: Command#critical_ok -> error_ok * lib/net/http.rb: read header when also "100 Continue" git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-11-011-1/+5
| | | | | | | * lib/net/imap.rb (ResponseParser#section): accept empty section. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-311-4/+9
| | | | | | | * lib/net/imap.rb (ResponseParser#address): bug fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-301-1/+1
| | | | | | | * lib/net/imap.rb (ResponseParser#section): accept T_NUMBER. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-271-36/+67
| | | | | | | hack for speed git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-261-6/+48
| | | | | | | * lib/net/imap.rb: hack for speed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-251-260/+946
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-10-252-2/+8
| | | | | | | | * lib/net/protocol.rb: Command#critical_ok * lib/net/smtp.rb: clear critical flag before go to SMTP git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-251-1/+0
| | | | | | | * lib/net/imap.rb (Net::IMAP#append): don't call Flag::new. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-171-29/+66
| | | | | | | | * lib/net/imap.rb: changed return value of Net::IMAP#fetch. * lib/net/imap.rb: support HEADER.FIELDS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-161-7/+8
| | | | | | | * lib/net/imap.rb: don't upcase the value of ATOM token. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-10-151-1/+1
| | | | | | | * lib/net/http.rb: hex-alpha is not [a-h] but [a-f]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-10-151-19/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***shugo2000-10-141-7/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/net/imap.rbshugo2000-10-131-0/+1087
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-10-122-7/+26
| | | | | | | | * lib/net/pop.rb: POP3#reset * lib/net/http.rb: a code for "Switch Protocol" was wrongly 100 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-10-112-170/+202
| | | | | | | * lib/net/protocol.rb: 2nd arg for ProtocolError#initialize is optional. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-09-232-5/+5
| | | | | | | * lib/net/protocol.rb, http.rb: typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-09-221-7/+7
| | | | | | | * lib/net/http.rb: too early parameter expantion in string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-09-214-83/+145
| | | | | | | | | * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.28. * lib/net/http.rb: HTTPReadAdapter -> HTTPResponseReceiver * lib/net/http.rb (connecting): response is got in receive() git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matz - net library bug (by me)matz2000-09-211-3/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wakouwakou2000-09-121-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matz: 1.6.0 final (hopufully)matz2000-09-126-30/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wakouwakou2000-09-111-8/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wakouwakou2000-09-111-19/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added default blocksize to Net::FTP#getbinaryfileshugo2000-08-171-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-08-164-38/+48
| | | | | | | | | * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.27. * lib/net/protocol.rb: writing methods returns written byte size. * lib/net/smtp.rb: send_mail accepts many destinations. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-08-151-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-07-124-129/+149
| | | | | | | | | | | * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26. * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: add module Net::NetPrivate and its inner classes {Read,Write}Adapter, Command, Socket, SMTPCommand, POP3Command, APOPCommand, HTTPCommand git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-101-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26.aamine2000-07-032-14/+6
| | | | | | | | * lib/net/protocol.rb (finish): do nothing unless active. * lib/net/http.rb: HTTP#{get,post}2 again (for new impl). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.25.aamine2000-07-012-10/+16
| | | | | | | | * lib/net/protocol.rb (each_crlf_line): beg = 0 is needed in adding{} * lib/net/smtp.rb: allow String for to_addr of SMTP#sendmail git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@799 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: http://svn.ruby-lang.org/repos/ruby/trunk@789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***shugo2000-06-221-9/+33
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue Jun 20 06:14:43 2000 Wakou Aoyama <wakou@fsinet.or.jp>wakou2000-06-191-300/+246
| | | | | | | | | * lib/cgi.rb: change: version syntax. old: x.yz, now: x.y.z * lib/net/telnet.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* expand tabs: lib/cgi.rb, lib/net/telnet.rbwakou2000-06-171-73/+73
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@763 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: http://svn.ruby-lang.org/repos/ruby/trunk@746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* o http.rb: body is in HTTPResponseaamine2000-06-122-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@744 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: http://svn.ruby-lang.org/repos/ruby/trunk@739 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: http://svn.ruby-lang.org/repos/ruby/trunk@724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp>wakou2000-05-241-19/+63
| | | | | | | | * lib/cgi.rb bug fix: CGI::escape(), CGI::Cookie::new() * lib/net/telnet.rb improve: binmode(), telnetmode() interface git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* p http.rb: do not use Regexp "p" optionaamine2000-05-222-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* telnet.rb Version 1.32wakou2000-05-091-25/+27
| | | | | | | - require English.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-09matz2000-05-091-6/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e