YUKI Hiroshi
null+****@clear*****
Thu Mar 20 17:44:24 JST 2014
YUKI Hiroshi 2014-03-20 17:44:24 +0900 (Thu, 20 Mar 2014) New Revision: 4b58a33d2b1e882988eac91f06ede74be44fe3ed https://github.com/droonga/express-droonga/commit/4b58a33d2b1e882988eac91f06ede74be44fe3ed Message: Store headers correctly. Modified files: lib/response-cache/entry.js Modified: lib/response-cache/entry.js (+1 -1) =================================================================== --- lib/response-cache/entry.js 2014-03-20 16:51:37 +0900 (92c406f) +++ lib/response-cache/entry.js 2014-03-20 17:44:24 +0900 (4ebe849) @@ -19,7 +19,7 @@ Entry.prototype = { finalize: function(response) { this.data.status = response.statusCode; - this.data.headers = response.headers; + this.data.headers = response.headers || response._headers; // currently there is no public method to get all headers... why? }, hook: function(response, onEndCallback) { -------------- next part -------------- HTML����������������������������...Download