1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

res.response_body_permitted? is not defined

`response_body_permitted?` is a method of request.
This commit is contained in:
Kazuhiro NISHIYAMA 2022-01-05 16:18:33 +09:00
parent 6326112e16
commit 5757696e07
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -132,7 +132,7 @@ module Net #:nodoc:
# puts res.class.name # => 'HTTPOK'
#
# # Body
# puts res.body if res.response_body_permitted?
# puts res.body
#
# === Following Redirection
#