diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-26 13:15:31 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-26 13:15:31 +0000 |
| commit | 8bb559aefe6f4942e870bcc42f963a49cc5aee57 (patch) | |
| tree | c0c1cd85173caa9f4e44f81e81c4d880c9f50028 /lib/optparse/time.rb | |
| parent | 16aabf34544a21a8777a079a25e573cb87dc4750 (diff) | |
| download | ruby-8bb559aefe6f4942e870bcc42f963a49cc5aee57.tar.gz ruby-8bb559aefe6f4942e870bcc42f963a49cc5aee57.tar.xz ruby-8bb559aefe6f4942e870bcc42f963a49cc5aee57.zip | |
* 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
Diffstat (limited to 'lib/optparse/time.rb')
0 files changed, 0 insertions, 0 deletions
