Skip to content

Commit 9b91f08

Browse files
znzhsbt
authored andcommitted
res.response_body_permitted? is not defined
`response_body_permitted?` is a method of request.
1 parent 992d07c commit 9b91f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class HTTPHeaderSyntaxError < StandardError; end
133133
# puts res.class.name # => 'HTTPOK'
134134
#
135135
# # Body
136-
# puts res.body if res.response_body_permitted?
136+
# puts res.body
137137
#
138138
# === Following Redirection
139139
#

0 commit comments

Comments
 (0)