shyouhei
fd71d468a6
merge revision(s) 27487:
...
* lib/net/imap (encode_utf7): encode & properly. Thanks, Kengo
Matsuyama. [ruby-dev:38063] backported from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08 07:05:36 +00:00
shyouhei
927ca6d776
* test/net/http/test_connection.rb (TestHTTP::HTTPConnectionTest#test_connection_refused_in_request):
...
Wrong exception to assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-22 13:11:41 +00:00
shyouhei
b6b1a387f1
merge revision(s) 26553:
...
* lib/net/http.rb (Net::HTTP#request): close @socket only after
started. [ruby-core:28028]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-22 10:50:54 +00:00
shyouhei
2ce5dfbd9d
merge revision(s) 26131:
...
* lib/net/http.rb (HTTPGenericRequest#send_request_with_body_stream):
increased encoding chunk size for POST request with body_stream
(1K -> 16K). patched by Brian Candler. #1284 .
* test/net/http/test_post_io.rb: added for the patch. It's good if a
patch comes with a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 03:27:45 +00:00
shyouhei
6249e5f774
merge revision(s) 19774:
...
* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)
[ruby-dev:36631]
* test/net/pop/test_pop.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 05:35:56 +00:00
akr
1cac3e5640
catch EOFError in a thread.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-15 11:12:20 +00:00
shugo
6bd9297bb7
* lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]
...
(backported from HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-04 13:03:20 +00:00
aamine
32cfce8396
restore (wrongly) removed tests
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 13:22:27 +00:00
aamine
8e1f07d6b3
* lib/net/http.rb: sync with HEAD (rev 1.132).
...
* lib/net/http.rb (Net::HTTP#post, request_post, request): should set Content-Type: x-www-form-urlencoded by default.
* lib/net/http.rb (Net::HTTPHeader#content_type): should return nil when there's no Content-Type.
* lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil when there's no sub Content-Type (e.g. "Content-Type: text").
* lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed when there's no Content-Type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 13:15:31 +00:00
akr
8252769f75
skip test if openssl is not available.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 02:49:16 +00:00
akr
7a6aeb35a0
fix another IPv6 issue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 20:40:39 +00:00
akr
eaf6326fbd
avoid IPv6 issue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 18:03:52 +00:00
akr
20181cd8b9
add ML number.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 17:14:06 +00:00
akr
4acc1fd506
set verify_mode to avoid a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:49:56 +00:00
(no author)
114f6ba3e6
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:11:46 +00:00
aamine
5e4004fa1d
* lib/net/http.rb: HTTPHeader holds its header fields as an array (backport from CVS HEAD rev 1.112-1.123). [ruby-list:40629]
...
* test/net/http/test_httpheader.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-06 07:42:35 +00:00
shugo
7a6f03ff9d
file test_imap.rb was added on branch ruby_1_8 on 2006-11-04 13:03:20 +0000
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 08:15:57 +00:00
(no author)
c67a8bba3f
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 08:15:57 +00:00
(no author)
47c4c9f830
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-02 22:50:01 +00:00