docs: fix typo (#1023)

This commit is contained in:
haoxin 2017-07-13 12:52:07 -05:00 committed by jongleberry
parent 87cde82399
commit 9f2182dec7

View file

@ -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)