accept-encoding default to identity even if gzip is enabled.
This commit is contained in:
@@ -51,6 +51,13 @@ public:
|
||||
// Set content types to accept.
|
||||
void Accept(const std::string& content_types);
|
||||
|
||||
#if WEBCC_ENABLE_GZIP
|
||||
|
||||
// Accept Gzip compressed response data or not.
|
||||
void AcceptGzip(bool gzip = true);
|
||||
|
||||
#endif // WEBCC_ENABLE_GZIP
|
||||
|
||||
// Set authorization.
|
||||
void Auth(const std::string& type, const std::string& credentials);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user