Flowdock
method

extract_content_type_without_parameters

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActionController::AbstractRequest
extract_content_type_without_parameters(content_type_with_parameters) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/request.rb, line 472
      def extract_content_type_without_parameters(content_type_with_parameters)
        $1.strip.downcase if content_type_with_parameters =~ /^([^,\;]*)/
      end
Register or log in to add new notes.