diff --git a/lib/request.js b/lib/request.js index 23ed3f2..25bf373 100644 --- a/lib/request.js +++ b/lib/request.js @@ -309,7 +309,7 @@ module.exports = { // 2xx or 304 as per rfc2616 14.26 if ((s >= 200 && s < 300) || 304 == s) { - return fresh(this.header, this.ctx.response.header); + return fresh(this.header, this.response.header); } return false;