Class EventMachine::HttpResponseHeader
In: lib/em-http/http_header.rb
Parent: Hash

A simple hash is returned for each request made by HttpClient with the headers that were given by the server for that request.

Methods

Attributes

http_reason  [RW]  The reason returned in the http response (string - e.g. "OK")
http_status  [RW]  The status code (integer - e.g. 200)
http_version  [RW]  The HTTP version returned (string - e.g. "1.1")
raw  [RW]  Raw headers

Public Instance methods

Is the transfer encoding chunked?

Length of content as an integer, or nil if chunked/unspecified

Cookie header from the server

E-Tag

HTTP response status

[Validate]