Class Rev::HttpResponseHeader
In: lib/rev/http_client.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 ("OK","File not found",etc.)
http_status  [RW]  The status code (as a string!)
http_version  [RW]  The HTTP version returned.

Public Instance methods

Is the transfer encoding chunked?

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

HTTP response status as an integer

[Validate]