class Faraday::Request::UrlEncoded
def process_request?(env)
-
(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