method
new
new(httpv, code, msg)
public
Hide source
# File lib/net/http/response.rb, line 76 def initialize(httpv, code, msg) #:nodoc: internal use only @http_version = httpv @code = code @message = msg initialize_http_header nil @body = nil @read = false @uri = nil @decode_content = false end