From 8bb559aefe6f4942e870bcc42f963a49cc5aee57 Mon Sep 17 00:00:00 2001 From: aamine Date: Wed, 26 Jul 2006 13:15:31 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 66211bdae..327060aa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +Wed Jul 26 22:13:45 2006 Minero Aoki + + * 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. + Wed Jul 26 18:35:38 2006 Minero Aoki * ext/strscan/strscan.c: sync with HEAD (rev 1.25). -- cgit