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