This commit is contained in:
yhirose 2023-02-01 19:11:11 -05:00
parent c4ba43ca6f
commit 439caf5b79

View file

@ -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" }
});