docs: fix typo (#1023)
This commit is contained in:
parent
87cde82399
commit
9f2182dec7
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ app.use(function * (next) {
|
||||||
Get a response header field value with case-insensitive `field`.
|
Get a response header field value with case-insensitive `field`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const etag = ctx.get('ETag');
|
const etag = ctx.response.get('ETag');
|
||||||
```
|
```
|
||||||
|
|
||||||
### response.set(field, value)
|
### response.set(field, value)
|
||||||
|
|
Loading…
Reference in a new issue