class UV::Http::Headers

Attributes

body[RW]
cookies[RW]

Cookies at the time of the request

http_version[RW]

The HTTP version returned

keep_alive[RW]
reason_phrase[RW]

The text after the status code

status[RW]

The status code (as an integer)

Public Instance Methods

inspect()
Alias for: to_s
to_s() click to toggle source
# File lib/uv-rays/http/parser.rb, line 24
def to_s
    "HTTP#{http_version} #{status} - keep alive: #{keep_alive}\nheaders: #{super}\nbody: #{body}"
end
Also aliased as: inspect