Http::Response - mfichman/jogo GitHub Wiki
Parses and stores an HTTP response. The headers are read first, and the remaining data is stored in the 'data' attribute.
@init(stream Io::Stream)
Parses a new request from the given stream. version = stream.scan(" ") stream.scan(" ") # = status message = stream.scanln()
strstatus(value Int) Http::Status
Parses the given string and returns the corresponding status. FixMe: Should be able to create an enum straight from the integer code.
@destroy()
No comment
status?() Http::Status
No comment
headers?() Hash[String,String]
No comment
body?() String
No comment