Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
module http_request
import core
+import serialization
# A request received over HTTP, is build by `HttpRequestParser`
class HttpRequest
+ serialize
+
private init is old_style_init do end
# HTTP protocol version
# Provides the `HttpResponse` class and `http_status_codes`
module http_response
+import serialization
+
# A response to send over HTTP
class HttpResponse
+ serialize
# HTTP protocol version
var http_version = "HTTP/1.0" is writable