Update article.md

This commit is contained in:
LeviDing 2020-04-09 15:06:58 +08:00 committed by GitHub
parent c89ddc5d92
commit 1e092a87de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,6 +130,7 @@ If we've already got the response with `response.text()`, then `response.json()`
```js
let text = await response.text(); // response body consumed
let parsed = await response.json(); // fails (already consumed)
```
````
## Response headers