| Class | HTTP::Message::Headers |
| In: |
lib/http-access2/http.rb
|
| Parent: | Object |
HTTP::Message::Headers — HTTP message header.
DESCRIPTION
A class that describes header part of HTTP message.
| StatusCodeMap | = | { Status::OK => 'OK', Status::MOVED_PERMANENTLY => 'Moved Permanently', Status::FOUND => 'Found', Status::SEE_OTHER => 'See Other', Status::TEMPORARY_REDIRECT => 'Temporary Redirect', Status::MOVED_TEMPORARILY => 'Temporary Redirect', Status::BAD_REQUEST => 'Bad Request', Status::INTERNAL => 'Internal Server Error', } |
| CharsetMap | = | { 'NONE' => 'us-ascii', 'EUC' => 'euc-jp', 'SJIS' => 'shift_jis', 'UTF8' => 'utf-8', } |
| body_charset | [RW] | Charset. |
| body_date | [RW] | A milestone of body. |
| body_size | [R] | Size of body. |
| body_type | [RW] | Content-type. |
| chunked | [R] | Chunked or not. |
| http_version | [RW] | HTTP version string in a HTTP header. |
| reason_phrase | [RW] | HTTP status reason phrase. |
| request_method | [R] | Request method. |
| request_uri | [R] | Requested URI. |
| request_via_proxy | [RW] | |
| response_status_code | [R] |