Removed compress parameter and added compress method on client

This commit is contained in:
yhirose 2019-12-12 23:09:59 -05:00
parent e5827ad16f
commit afd6d5f9dc
3 changed files with 77 additions and 94 deletions

View file

@ -423,6 +423,13 @@ The server applies gzip compression to the following MIME type contents:
* application/xml
* application/xhtml+xml
### Compress content on client
```c++
cli.compress(true);
res = cli.Post("/resource/foo", "...", "text/plain");
```
NOTE
----