class Faraday::Request::UrlEncoded

def process_request?(env)

Returns:
  • (Boolean) - True if the request has a body and its Content-Type is

Parameters:
  • env (Faraday::Env) --
def process_request?(env)
  type = request_type(env)
  env.body && (type.empty? || (type == self.class.mime_type))
end