mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Fix #1479
This commit is contained in:
parent
c4ba43ca6f
commit
439caf5b79
1 changed files with 4 additions and 0 deletions
|
@ -493,6 +493,10 @@ auto res = cli.Get("/hi", headers);
|
|||
```
|
||||
or
|
||||
```c++
|
||||
auto res = cli.Get("/hi", {{"Accept-Encoding", "gzip, deflate"}});
|
||||
```
|
||||
or
|
||||
```c++
|
||||
cli.set_default_headers({
|
||||
{ "Accept-Encoding", "gzip, deflate" }
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue