| Class | Faraday::Env |
| In: |
lib/faraday/options.rb
|
| Parent: | Options.new(:method, :body, :url, :request, :request_headers, :ssl, :parallel_manager, :params, :response, :response_headers, :status) |
| ContentLength | = | 'Content-Length'.freeze | ||
| StatusesWithoutBody | = | Set.new [204, 304] | ||
| SuccessfulStatuses | = | 200..299 | ||
| MethodsWithBodies | = | Set.new [:post, :put, :patch, :options] | A Set of HTTP verbs that typically send a body. If no body is set for these requests, the Content-Length header is set to 0. |