Merge: Make HttpRequest and Response serializable
authorJean Privat <jean@pryen.org>
Mon, 15 Aug 2016 17:18:22 +0000 (13:18 -0400)
committerJean Privat <jean@pryen.org>
Mon, 15 Aug 2016 17:18:22 +0000 (13:18 -0400)
commit7a692c990c3bcc9013fca979860850b083187d85
tree1bc93739c9fdf660b45dc541314b0813667bcc2d
parent8d6aa10d944623ca87ee5bd428602cc6be3aeffa
parent297fd2b04132ad8cb36bc78abce7f0d0ec970dbd
Merge: Make HttpRequest and Response serializable

This PR makes HTTP requests and responses serializable.

I had a hard time with deserialization because of the `host` attribute that is never initialized, I removed it. Let's see what is crashing.

Pull-Request: #2260
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>