Method: Net::HTTPResponse#initialize
- Defined in:
- lib/net/http/response.rb
#initialize(httpv, code, msg) ⇒ HTTPResponse
:nodoc: internal use only
194 195 196 197 198 199 200 201 202 203 204 205 |
# File 'lib/net/http/response.rb', line 194 def initialize(httpv, code, msg) #:nodoc: internal use only @http_version = httpv @code = code = msg initialize_http_header nil @body = nil @read = false @uri = nil @decode_content = false @body_encoding = false @ignore_eof = true end |