diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-26 13:00:26 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-26 13:00:26 +0000 |
commit | e1173b2c78ad8537da935606d61ecbc775c152b1 (patch) | |
tree | a285ff9dcbb07e75b7ad819de842850d122a2894 /test/optparse/test_optparse.rb | |
parent | c9500ee8d94e0ff1ac600b14998ba23bc7e743ef (diff) | |
download | ruby-e1173b2c78ad8537da935606d61ecbc775c152b1.tar.gz |
* 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/trunk@10611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/optparse/test_optparse.rb')
0 files changed, 0 insertions, 0 deletions