Method: Net::HTTPResponse.body_permitted?
- Defined in:
- lib/net/http/response.rb
.body_permitted? ⇒ Boolean
true if the response has a body.
138 139 140 |
# File 'lib/net/http/response.rb', line 138 def body_permitted? self::HAS_BODY end |