docs response: fix md list jank
This commit is contained in:
parent
039805265f
commit
e00f2aee9d
1 changed files with 4 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# Response
|
# Response
|
||||||
|
|
||||||
A Koa `Response` object is an abstraction on top of node's vanilla response object,
|
A Koa `Response` object is an abstraction on top of node's vanilla response object,
|
||||||
|
@ -76,9 +75,9 @@
|
||||||
- 510 "not extended"
|
- 510 "not extended"
|
||||||
- 511 "network authentication required"
|
- 511 "network authentication required"
|
||||||
|
|
||||||
__NOTE__: don't worry too much about memorizing these strings,
|
__NOTE__: don't worry too much about memorizing these strings,
|
||||||
if you have a typo an error will be thrown, displaying this list
|
if you have a typo an error will be thrown, displaying this list
|
||||||
so you can make a correction.
|
so you can make a correction.
|
||||||
|
|
||||||
### res.length=
|
### res.length=
|
||||||
|
|
||||||
|
@ -243,4 +242,4 @@ this.response.lastModified = new Date();
|
||||||
|
|
||||||
```js
|
```js
|
||||||
this.response.etag = crypto.createHash('md5').update(this.body).digest('hex');
|
this.response.etag = crypto.createHash('md5').update(this.body).digest('hex');
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue