summaryrefslogtreecommitdiffstats
path: root/lib/net
Commit message (Collapse)AuthorAgeFilesLines
* * lib/net/http.rb: imported from trunk, rev 1.129aamine2006-02-052-9/+15
| | | | | | | | | * lib/net/http.rb (add_field, get_fields): keep 1.8.2 backward compatibility. * lib/net/https.rb: imported from trunk, rev 1.3. * lib/net/https.rb: #use_ssl? definition moved from net/http.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread withmatz2005-09-141-1/+1
| | | | | | | readpartial. [ruby-talk:127641] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/https.rb: backported from trunk, rev 1.3. [ruby-dev:25673] ↵aamine2005-09-132-9/+5
| | | | | | | | | | | (again), [ruby-dev:26617] (again), [ruby-dev:27062] * ext/openssl/lib/net/https.rb: removed. * ext/openssl/lib/net/protocols.rb: removed. * lib/net/http.rb: #use_ssl?, #use_ssl are moved from net/https. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: backported from trunk, rev 1.128. [ruby-dev:25673] ↵aamine2005-09-134-456/+781
| | | | | | | | | | | | [ruby-dev:26617] * lib/net/protocol.rb: backported from trunk, rev 1.78. * lib/net/protocol.rb: new method #old_open to support net/smtp and net/pop. * lib/net/smtp.rb: use #old_open. * lib/net/pop.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: HTTPHeader holds its header fields as an array (backport ↵aamine2005-03-061-62/+121
| | | | | | | | | from CVS HEAD rev 1.112-1.123). [ruby-list:40629] * test/net/http/test_httpheader.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (initialize): handle certs correctly. Thanks,shugo2005-02-221-5/+6
| | | | | | | NABEYA Kenichi. (backported from CVS HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (WriteAdapter#puts): should append \n, not prepend. ↵aamine2005-01-261-1/+1
| | | | | | [ruby-talk:128302] (backport from HEAD, rev 1.75) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-lis:40546]shugo2005-01-211-1/+1
| | | | | | | (backported from CVS HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-12-201-0/+171
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (basic_encode): return value of pack('m') may include ↵aamine2004-12-151-1/+1
| | | | | | multiple CR/LFs. Backported from main trunk (rev 1.112). [ruby-dev:25212] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the germanshugo2004-10-031-3/+3
| | | | | | | | | version of Microsoft Exchange Server. * lib/net/imap.rb (RTEXT_REGEXP): ditto. * lib/net/imap.rb (CTEXT_REGEXP): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (rbuf_fill): OpenSSL::SSLSocket has its own buffer, ↵aamine2004-08-181-6/+5
| | | | | | select(2) might not work. [ruby-dev:24072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (disconnected?): new method. (backported from HEAD)shugo2004-07-231-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (receive_responses): return if a logout responseshugo2004-07-171-1307/+1355
| | | | | | | | | received. (backported from head) * lib/net/imap.rb (send_string_data): wait command continuation requests before sending octet data of literals. (backported from head) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.shugo2004-06-221-1/+1
| | | | | | | Thanks, Rutger Nijlunsing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (Net::Telnet::login): "options" can specifyakira2004-05-131-4/+8
| | | | | | | regexps for login prompt and/or password prompt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: improved documentationgsinclair2004-05-095-418/+507
| | | | | | | | | | * lib/net/imap.rb: ditto * lib/net/pop.rb: ditto * lib/net/smtp.rb: ditto * lib/net/telnet.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (string): accept NIL.shugo2004-05-061-8/+27
| | | | | | | * lib/net/imap.rb (body_type_basic): allow body-fields omissions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c, io.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb, lib/date.rb,nobu2004-04-184-8/+8
| | | | | | | | | | | | | lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb, lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: should not overwrite HTTP request header. [ruby-list:39543]aamine2004-04-131-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (top_include): include in the wrapped load is done formatz2004-04-054-10/+10
| | | | | | | | | | | | | | | | | | the wrapper, not for a singleton class for wrapped main. [ruby-dev:23305] * bignum.c (rb_big_eq): use temporary double variable to save the result (internal float register may be bigger than 64 bits, for example, 80 bits on x86). [ruby-dev:23311] * eval.c (block_pass): should generate unique identifier of the pushing block. [ruby-talk:96363] * ext/socket/socket.c (make_hostent): fix memory leak, based on the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (auth): failed when account/password include "%". ↵aamine2004-03-281-2/+2
| | | | | | [ruby-talk:95933] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (canonical_each): fix merge miss.usa2004-02-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: merged coding style changes from HEAD.gsinclair2004-02-011-98/+89
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: rearranged documentation for RDoc's sake.gsinclair2004-02-011-4/+4
| | | | | | | | * lib/matrix.rb: improved documentation. * lib/net/http.rb: slight documentation formatting improvement. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (BEG_REGEXP): allow 8-bit characters in quoted strings for ↵shugo2004-01-221-2/+2
| | | | | | | | | Novell GroupWise Internet Agent. * lib/net/imap.rb (DATA_REGEXP): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * merged from HEAD.shugo2004-01-211-32/+52
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (authenticate): remove "\n" from base64 encodedshugo2003-12-241-1/+1
| | | | | | | strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Document Class and Dirdave2003-12-191-9/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: update hyperlink to the Japanese document.aamine2003-12-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: wrote the warning about HTTP_PROXY environment variable.aamine2003-12-021-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (to_ary): print more friendly warning message.aamine2003-11-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb: logging response body. [experimental] [ruby-list:38800]aamine2003-11-161-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (set_debug_output): last commit was wrong.aamine2003-11-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (set_debug_output): warn if method is called after #start. ↵aamine2003-11-161-0/+1
| | | | | | [ruby-dev:38798] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* consistent parentheses in assignment RHS.matz2003-10-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (finish): revert to 1.93.aamine2003-09-293-9/+34
| | | | | | | | | | | | * lib/net/pop.rb (finish): revert to 1.60. * lib/net/smtp.rb (finish): revert to 1.67. * lib/net/http.rb (do_start): ensure to close socket if failed to start session. * lib/net/pop.rb (do_start): ditto. * lib/net/smtp.rb (do_start): ditto. * lib/net/smtp.rb: SMTP#started? wrongly returned false always. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (finish): does not raise IOError even if !started?, to ↵aamine2003-09-293-12/+5
| | | | | | | | | | allow duplicated #finish call. * lib/net/pop.rb (finish): ditto. * lib/net/smtp.rb (finish): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: cosmetic improvements to documentationgsinclair2003-08-312-316/+318
| | | | | | | * lib/net/imap.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 response. ↵aamine2003-08-271-1/+1
| | | | | | [ruby-list:38279] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small documentation update, including source attribution.gsinclair2003-08-211-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small changes to documentation; mainly hiding things from RDoc.gsinclair2003-08-215-21/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD -> RDoc by William Webbergsinclair2003-08-111-248/+381
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD -> RDoc by William Webbergsinclair2003-08-061-326/+302
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: update document.aamine2003-08-053-69/+80
| | | | | | | | * lib/net/pop.rb: ditto. * lib/net/protocol.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc updated by William Webbergsinclair2003-08-051-135/+204
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc comments provided by William Webber <wew@williamwebber.com>gsinclair2003-08-051-467/+405
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (receive_responses): raise exception toshugo2003-08-041-17/+33
| | | | | | | client_thread. Thanks to William Webber. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: convert RD to RDoc.shugo2003-08-041-812/+871
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: respond_to? needs 2nd argument. [ruby-talk:77796]aamine2003-08-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e