--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "HTTP::Message::Body:"
      body: message body.
    type: :NOTE
  name: body
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "HTTP::Message::Headers:"
      body: message header.
    type: :NOTE
  name: header
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "OpenSSL::X509::Certificate:"
      body: response only. server certificate which is used for retrieving the response.
    type: :NOTE
  name: peer_cert
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: file?
- !ruby/object:RI::MethodSummary 
  name: internal_mime_type
- !ruby/object:RI::MethodSummary 
  name: keep_alive_enabled?
- !ruby/object:RI::MethodSummary 
  name: mime_type_handler
- !ruby/object:RI::MethodSummary 
  name: mime_type_handler=
- !ruby/object:RI::MethodSummary 
  name: multiparam_query?
- !ruby/object:RI::MethodSummary 
  name: new_connect_request
- !ruby/object:RI::MethodSummary 
  name: new_request
- !ruby/object:RI::MethodSummary 
  name: new_response
comment: 
- !ruby/struct:SM::Flow::P 
  body: Represents a HTTP message. A message is for a request or a response.
- !ruby/struct:SM::Flow::P 
  body: Request message is generated from given parameters internally so users don't need to care about it. Response message is the instance that methods of HTTPClient returns so users need to know how to extract HTTP response data from Message.
- !ruby/struct:SM::Flow::P 
  body: Some attributes are only for a request or a response, not both.
- !ruby/struct:SM::Flow::H 
  level: 2
  text: How to use HTTP response message
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "1."
    body: Gets response message body.
  - !ruby/struct:SM::Flow::VERB 
    body: " res = clnt.get(url)\n p res.content #=&gt; String\n"
  - !ruby/struct:SM::Flow::LI 
    label: "2."
    body: Gets response status code.
  - !ruby/struct:SM::Flow::VERB 
    body: " res = clnt.get(url)\n p res.status #=&gt; 200, 501, etc. (Integer)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "3."
    body: Gets response header.
  - !ruby/struct:SM::Flow::VERB 
    body: " res = clnt.get(url)\n res.header['set-cookie'].each do |value|\n   p value\n end\n assert_equal(1, res.header['last-modified'].size)\n p res.header['last-modified'].first\n"
  type: :NUMBER
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: CRLF
  value: "\"\\r\\n\""
full_name: HTTP::Message
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: body=
- !ruby/object:RI::MethodSummary 
  name: code
- !ruby/object:RI::MethodSummary 
  name: content
- !ruby/object:RI::MethodSummary 
  name: contenttype
- !ruby/object:RI::MethodSummary 
  name: contenttype=
- !ruby/object:RI::MethodSummary 
  name: dump
- !ruby/object:RI::MethodSummary 
  name: reason
- !ruby/object:RI::MethodSummary 
  name: reason=
- !ruby/object:RI::MethodSummary 
  name: status
- !ruby/object:RI::MethodSummary 
  name: status=
- !ruby/object:RI::MethodSummary 
  name: status_code
- !ruby/object:RI::MethodSummary 
  name: version
- !ruby/object:RI::MethodSummary 
  name: version=
name: Message
superclass: Object
