class Faraday::Env

def needs_body?

Returns:
  • (Boolean) - true if there's no body yet, and the method is in the
def needs_body?
  !body && MethodsWithBodies.include?(method)
end