mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00: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; }
|
if (!ret) { return EncodingType::None; }
|
||||||
|
|
||||||
const auto &s = req.get_header_value("Accept-Encoding");
|
const auto &s = req.get_header_value("Accept-Encoding");
|
||||||
|
(void)(s);
|
||||||
|
|
||||||
#ifdef CPPHTTPLIB_BROTLI_SUPPORT
|
#ifdef CPPHTTPLIB_BROTLI_SUPPORT
|
||||||
// TODO: 'Accept-Encoding' has br, not br;q=0
|
// TODO: 'Accept-Encoding' has br, not br;q=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue