[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:17248

From: (aamine) <aamine ruby-lang.org>
Date: Wed, 26 Jul 2006 22:00:27 +0900
Subject: [ruby-cvs:17248] ruby, ruby/lib/net, ruby/test/net/http: * lib/net/http.rb (Net::HTTP#post, request_post, request): should set Content-Type: x-www-form-urlencoded by default.

aamine      Wed, 26 Jul 2006 22:00:27 +0900

  Modified files:
    ruby:
      ChangeLog
    ruby/lib/net:
      http.rb
    ruby/test/net/http:
      test_httpheader.rb
  Log:
    * 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.
  
  Revision    Changes    Path
  1.5216      +14  -0    ruby/ChangeLog
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.5215&r2=1.5216
  1.132       +45  -14   ruby/lib/net/http.rb
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/net/http.rb?cvsroot=src&r1=1.131&r2=1.132
  1.5         +12  -0    ruby/test/net/http/test_httpheader.rb
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/test/net/http/test_httpheader.rb?cvsroot=src&r1=1.4&r2=1.5


[前][次][番号順一覧][スレッド一覧][生データ]