Handling compressions

This commit is contained in:
2016-12-21 18:34:55 +08:00
parent a7edb55d4c
commit 3a3a22b37a
3 changed files with 69 additions and 13 deletions
+1
View File
@@ -46,6 +46,7 @@ class CRequest
constructor( req, Http )
{
this.raw = req;
this.headers = req.headers;
this.uri = require('url').parse( req.url );
this.cookie = new Cookie( req.headers.cookie, Http );
}