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