Project

General

Profile

Feature #14896 ยป response-socket.patch

mudge (Paul Mucur), 07/04/2018 08:42 PM

View differences:

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
    (1-1/1)