docs: update information about cookies
This commit is contained in:
parent
ebbf45cc67
commit
7c6031f4c1
|
@ -34,6 +34,7 @@
|
||||||
- [Post with form parameters](#post-with-form-parameters)
|
- [Post with form parameters](#post-with-form-parameters)
|
||||||
- [Handling exceptions](#handling-exceptions)
|
- [Handling exceptions](#handling-exceptions)
|
||||||
- [Handling client and server errors](#handling-client-and-server-errors)
|
- [Handling client and server errors](#handling-client-and-server-errors)
|
||||||
|
- [Handling cookies](#handling-cookies)
|
||||||
- [Advanced Usage](#advanced-usage)
|
- [Advanced Usage](#advanced-usage)
|
||||||
- [Streams](#streams)
|
- [Streams](#streams)
|
||||||
- [Buffer](#buffer)
|
- [Buffer](#buffer)
|
||||||
|
@ -258,6 +259,10 @@ fetch('https://httpbin.org/status/400')
|
||||||
.then(res => console.log('will not get here...'));
|
.then(res => console.log('will not get here...'));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Handling cookies
|
||||||
|
|
||||||
|
Cookies are not stored by default. However, cookies can be extracted and passed by manipulating request and response headers. See [Extract Set-Cookie Header](#extract-set-cookie-header) for details.
|
||||||
|
|
||||||
## Advanced Usage
|
## Advanced Usage
|
||||||
|
|
||||||
### Streams
|
### Streams
|
||||||
|
|
Loading…
Reference in New Issue