HTTP::Client::Response
Constructors
Class methods
from_io(io, ignore_body = false, decompress = true, &)
SourceParses an HTTP::Client::Response from the given IO.
Might return nil if there's no data in the IO,
which probably means that the connection was closed.
from_io?(io, ignore_body = false, decompress = true, &)
Parses an HTTP::Client::Response from the given IO and yields
it to the block. Might yield nil if there's no data in the IO,
which probably means that the connection was closed.
Instance methods
body
Sourcebody?
Sourcebody_io
Sourcebody_io?
Sourcecharset
Sourcecontent_type
Sourcecookies
Returns a convenience wrapper around querying and setting cookie related
headers, see HTTP::Cookies.
headers
Sourcekeep_alive?
Sourcemime_type
Sourcestatus
Sourcestatus_message
Sourceversion
Source