use this.response insteadof this.ctx.response (#1163)
This commit is contained in:
parent
9cef2db87e
commit
8c17517809
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue