mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Fix #581
This commit is contained in:
parent
8c501022b3
commit
2538a85486
1 changed files with 1 additions and 0 deletions
|
@ -2352,6 +2352,7 @@ inline EncodingType encoding_type(const Request &req, const Response &res) {
|
|||
if (!ret) { return EncodingType::None; }
|
||||
|
||||
const auto &s = req.get_header_value("Accept-Encoding");
|
||||
(void)(s);
|
||||
|
||||
#ifdef CPPHTTPLIB_BROTLI_SUPPORT
|
||||
// TODO: 'Accept-Encoding' has br, not br;q=0
|
||||
|
|
Loading…
Reference in a new issue