This project is archived and is in readonly mode.

#4109 ✓resolved
Jarl Friis

ActionController::Request#content_charset always fails

Reported by Jarl Friis | March 4th, 2010 @ 11:40 PM | in 3.0.2

I am trying to log the charset of the request. But it always fails:
NoMethodError (private methodsplit' called for #<Mime::Type:0x7f13fda04e08>):

This is because the method Rack::Request#content_type is overriden in ActionController::Request, therefore Rack::Request#content_charset always fails.


Comments and changes to this ticket

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=""></a>

People watching this ticket

Referenced by