method

parse_content_type

parse_content_type(content_type)
private

No documentation available.

# File actionpack/lib/action_dispatch/http/response.rb, line 419
    def parse_content_type(content_type)
      if content_type && match = CONTENT_TYPE_PARSER.match(content_type)
        ContentTypeHeader.new(match[:mime_type], match[:charset])
      else
        NullContentTypeHeader
      end
    end