summaryrefslogtreecommitdiffstats
path: root/lib/net
Commit message (Collapse)AuthorAgeFilesLines
...
* aamineaamine2001-07-034-114/+146
| | | | | | | | * lib/net/http.rb: new method HTTP#request_by_name (test) * lib/net/http.rb: new class HTTPGenericRequest git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * protocol.rb,smtp.rb,pop.rb,http.rb: modify document.aamine2001-06-273-179/+195
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-06-264-382/+740
| | | | | | | | | | * lib/net/pop.rb: new methods POP3.auth_only, POP3#auth_only * lib/net/http.rb: HTTP.Proxy returns self if ADDRESS is nil. * lib/net/protocol.rb: new method ProtocolError#response * lib/net/protocol.rb,smtp.rb,pop.rb,http.rb: add document. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: fix typo.shugo2001-04-091-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (media_subtype): return subtype.shugo2001-04-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (flag_list): capitalize flags.shugo2001-04-021-21/+49
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: add document and example code.shugo2001-03-301-7/+592
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.shugo2001-03-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: added example.shugo2001-03-261-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: supports response handlers and multiple commands.shugo2001-03-261-79/+163
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-03-133-8/+17
| | | | | | | | | * lib/net/http.rb: add HTTPRequest#basic_auth. * lib/net/smtp.rb: raise if only account or password is given. * lib/net/protocol.rb: WriteAdapter#<< returns self. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-03-082-18/+22
| | | | | | | * lib/net/protocol.rb: one write(2) per one line. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Feb 26 05:27:52 2001 Wakou Aoyama <wakou@fsinet.or.jp>wakou2001-02-251-196/+21
| | | | | | | | * lib/net/telnet.rb: #telnetmode(), #binmode(): bug fix. thanks to nobu.nakada@nifty.ne.jp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-02-244-125/+157
| | | | | | | | * lib/net/http.rb: always close connection on request without body. * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: change copyright. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-02-222-146/+219
| | | | | | | | | * lib/net/protocol.rb: clear read buffer after reopen. * lib/net/protocol.rb: refactoring. * lib/net/http.rb: split module HTTPHeader from HTTPResponse. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-02-171-16/+12
| | | | | | | * lib/net/http.rb: Response#range_length was not debugged. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: supports unknown resp_text_code.shugo2001-02-141-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-02-072-69/+63
| | | | | | | | | * lib/net/http.rb: join HTTPReadResponse into HTTPResponse again. * lib/net/http.rb: move http_version() from HTTPRequest to HTTPResponse. * lib/net/protocol.rb: refactoring. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-02-072-42/+70
| | | | | | | | | * lib/net/http.rb: split HTTPResponse into HTTPReadResponse module. * lib/net/protocol.rb: add Net::net_private. * lib/net/protocol.rb: Socket#reopen takes arg, open_timeout. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-02-061-13/+2
| | | | | | | * lib/net/http.rb: Proxy did not work. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-02-062-3/+11
| | | | | | | | * lib/net/http.rb: call on_connect() on re-opening socket. * lib/net/pop.rb: also POP3 can use APOP auth. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-02-064-311/+329
| | | | | | | | | | * lib/net/http.rb: add HTTP#request. * lib/net/http.rb: take HTTP 1.0 server into account (incomplete). * lib/net/protocol.rb: timeout for open/read. * lib/net/protocol.rb: add Protocol#on_connect,on_disconnect. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-01-162-11/+18
| | | | | | | | * lib/net/protocol.rb: ignore EOFError for read. * lib/net/http.rb: user specified header was not used. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-01-134-458/+483
| | | | | | | | * lib/net/protocol.rb (adding): too few "yield" in case of arg is not String/File. * lib/net/http.rb: add http request object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wakouwakou2000-12-241-21/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-12-244-488/+467
| | | | | | | | * lib/net/protocol.rb,smtp.rb,pop.rb,http.rb: wrongly version 1.2 sources were checked in. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-12-244-471/+488
| | | | | | | * lib/net/http.rb: does not send HEAD on closing socket. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-12-224-62/+167
| | | | | | | | | | | * lib/net/protocol.rb: set @closed false in Socket#reopen. * lib/net/pop.rb: add POP3.foreach, delete_all. * lib/net/pop.rb: add POP3#delete_all. * lib/net/http.rb: add HTTP.version_1_1, version_1_2 * lib/net/http.rb: refactoring. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* shugoshugo2000-12-212-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wakouwakou2000-12-141-21/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2000-11-181-3/+2
| | | | | | | * lib/net/http.rb: Socket#readline() reads until "\n", not "\r\n" git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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