diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-30 05:41:03 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-30 05:41:03 +0000 |
commit | d0526ede40c1ebe4b1bcd9d5efbc04254f4c8cbf (patch) | |
tree | b24c460ef018b736be457d0d88c2c5b7ee60827a /actionpack/test | |
parent | 5446ecd5b975890dab5f7120b25ed0e8f91279fa (diff) | |
download | rails-d0526ede40c1ebe4b1bcd9d5efbc04254f4c8cbf.tar.gz rails-d0526ede40c1ebe4b1bcd9d5efbc04254f4c8cbf.tar.bz2 rails-d0526ede40c1ebe4b1bcd9d5efbc04254f4c8cbf.zip |
r4748@asus: jeremy | 2006-06-29 22:40:35 -0700
Loosen urlencoded content type check.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/raw_post_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/raw_post_test.rb b/actionpack/test/controller/raw_post_test.rb index b6895bc3cc..c9816484b7 100644 --- a/actionpack/test/controller/raw_post_test.rb +++ b/actionpack/test/controller/raw_post_test.rb @@ -11,7 +11,7 @@ class RawPostDataTest < Test::Unit::TestCase def test_post_with_urlencoded_body ENV['REQUEST_METHOD'] = 'POST' - ENV['CONTENT_TYPE'] = 'application/x-www-form-urlencoded' + ENV['CONTENT_TYPE'] = ' apPlication/x-Www-form-urlEncoded; charset=utf-8' assert_equal ['1'], cgi_params['a'] assert_has_raw_post_data end |