diff options
author | Loïc Hoguin <[email protected]> | 2011-12-19 08:56:48 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-12-19 08:56:48 +0100 |
commit | f9bd5d1061813be1405977af57390ca7af40e39e (patch) | |
tree | 89289c9ecac40acbb50c625da19b1a5d357b69dd | |
parent | 740931131b06bfc3ec830312d52d87ab7e8a932d (diff) | |
download | cowboy-f9bd5d1061813be1405977af57390ca7af40e39e.tar.gz cowboy-f9bd5d1061813be1405977af57390ca7af40e39e.tar.bz2 cowboy-f9bd5d1061813be1405977af57390ca7af40e39e.zip |
Add missing p_headers and cookies to compacted values
-rw-r--r-- | src/cowboy_http_req.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl index e40bbc6..c302100 100644 --- a/src/cowboy_http_req.erl +++ b/src/cowboy_http_req.erl @@ -503,7 +503,8 @@ upgrade_reply(Status, Headers, Req=#http_req{socket=Socket, transport=Transport, compact(Req) -> Req#http_req{host=undefined, host_info=undefined, path=undefined, path_info=undefined, qs_vals=undefined, - bindings=undefined, headers=[]}. + bindings=undefined, headers=[], + p_headers=[], cookies=[]}. %% Internal. |