Feature #14896 ยป response-socket.patch
| lib/net/http/response.rb | ||
|---|---|---|
|
# Accept-Encoding header from the user.
|
||
|
attr_accessor :decode_content
|
||
|
# The underlying IO socket used when streaming response bodies. Note
|
||
|
# that reading from the socket directly will mean the response will
|
||
|
# *not* contain a (meaningful) body.
|
||
|
attr_reader :socket
|
||
|
def inspect
|
||
|
"#<#{self.class} #{@code} #{@message} readbody=#{@read}>"
|
||
|
end
|
||