# File lib/faraday/request/url_encoded.rb, line 30 def request_type(env) type = env.request_headers[CONTENT_TYPE].to_s type = type.split(';', 2).first if type.index(';') type end