aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/mime_type_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix Mime::Type#=~ not using Regexp.quoteFrederick Cheung2008-12-211-0/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Implement Mime::Type.=~ to match all synonyms against arg [#1573 state:resolved]Seth Fitzsimmons2008-12-151-0/+8
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Instead of overriding html_types, base the verification on ↵Michael Koziarski2008-11-131-3/+3
| | | | | | | | browser_generated_types. Also Deprecate the old unverifiable types. [#1145 state:committed]
* fix two MimeType failing test casesrick2008-11-131-6/+6
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* change ActionController::RequestForgeryProtection to use ↵rick2008-05-061-4/+21
| | | | Mime::Type#verify_request? [#73]
* Accept header mime parser can now deal with empty fieldsTobias Lütke2008-05-011-0/+7
|
* Ensure mime types can be compared with symbols. Closes #10796 [bscofield]Michael Koziarski2008-01-201-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-021-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add multipart and url-encoded form mime types.Jeremy Kemper2007-05-151-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the handling of broken accept headersTobias Lütke2007-03-281-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove Mime::PLAIN from tests so its not confused with the default ↵Rick Olson2007-02-151-6/+6
| | | | | | Mime::TEXT mime type git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Mime::Type convenience methods to check the current mime type. [Rick]Rick Olson2007-02-151-2/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make new mime types first class [DHH]David Heinemeier Hansson2006-06-021-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Mime::Type.register(string, symbol, synonyms = []) for adding new ↵David Heinemeier Hansson2006-06-021-0/+6
| | | | | | custom mime types [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont keep nothing as a lookup [DHH]David Heinemeier Hansson2006-06-011-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New routes implementation. Simpler, faster, easier to understand. The ↵Jamis Buck2006-06-011-0/+1
| | | | | | published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Mime::Type.parse consider q values (if any)Jamis Buck2006-03-181-0/+24
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de