docs: fix typo (#1023)

master
haoxin 2017-07-13 12:52:07 -05:00 committed by jongleberry
parent 87cde82399
commit 9f2182dec7
1 changed files with 1 additions and 1 deletions

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)