protected Method

AbstractRequest.content_type_without_parameters

The raw content type string with its parameters stripped off.

Source Code

# File action_controller/request.rb, line 350
def content_type_without_parameters
  @content_type_without_parameters ||= self.class.extract_content_type_without_parameters(content_type_with_parameters)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.