mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fix #254
This commit is contained in:
parent
9d57899352
commit
e743b8cd57
1 changed files with 3 additions and 0 deletions
|
@ -3174,6 +3174,9 @@ inline std::shared_ptr<Response> Client::send_with_content_provider(
|
|||
const char *method, const char *path, const Headers &headers,
|
||||
const std::string &body, size_t content_length,
|
||||
ContentProvider content_provider, const char *content_type, bool compress) {
|
||||
#ifndef CPPHTTPLIB_ZLIB_SUPPORT
|
||||
(void)compress;
|
||||
#endif
|
||||
|
||||
Request req;
|
||||
req.method = method;
|
||||
|
|
Loading…
Reference in a new issue