This project is archived and is in readonly mode.
Changeset [77a2a3d9b3aa461437ced326ea4a70112a8c68ed] by wycats
March 28th, 2010 @ 09:40 PM
Request#content_type exists in Rack::Request, and other parts of
Rack::Request expect
it to return a String. Split the Rails API so that
Request#content_type returns
a String, and Request#content_mime_type returns a Mime::Type
object.
http://github.com/rails/rails/commit/77a2a3d9b3aa461437ced326ea4a70...
Committed by wycats
- M actionpack/lib/action_dispatch/http/mime_negotiation.rb
- M actionpack/lib/action_dispatch/http/request.rb
- M actionpack/lib/action_dispatch/middleware/params_parser.rb
- M actionpack/test/dispatch/rack_test.rb
- M actionpack/test/dispatch/request_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>