diff --git a/docs/api/response.md b/docs/api/response.md index e224c7d..0198e51 100644 --- a/docs/api/response.md +++ b/docs/api/response.md @@ -163,7 +163,7 @@ app.use(function * (next) { Get a response header field value with case-insensitive `field`. ```js -const etag = ctx.get('ETag'); +const etag = ctx.response.get('ETag'); ``` ### response.set(field, value)