bugfix for records sorting

This commit is contained in:
OttoMao
2015-08-12 19:26:29 +08:00
parent ae070c90ab
commit 531f4d0421
5 changed files with 107 additions and 95 deletions

View File

@@ -125,7 +125,7 @@ function userRequestHandler(req,userRes){
delete options.headers['accept-encoding']; //avoid gzipped response
}catch(e){}
//update quest data
//update request data
reqData = userRule.replaceRequestData(req,reqData) || reqData;
options.headers = util.lower_keys(options.headers);
options.headers["content-length"] = reqData.length; //rewrite content length info