# File lib/rack/request.rb, line 43
    def media_type
      content_type && content_type.split(/\s*[;,]\s*/, 2).first.downcase
    end