# File lib/oauth/request_proxy/em_http_request.rb, line 42 def post_parameters headers = request.options[:head] || {} form_encoded = headers['Content-Type'].to_s.downcase.start_with?("application/x-www-form-urlencoded") if ['POST', 'PUT'].include?(method) && form_encoded CGI.parse(request.normalize_body.to_s) else {} end end