|
@@ -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
|