mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Fix incorrect content_encoding for Brotli (#763)
This commit is contained in:
parent
e1133a2dcb
commit
b21dc8cbe0
1 changed files with 1 additions and 1 deletions
|
@ -4581,7 +4581,7 @@ inline void Server::apply_ranges(const Request &req, Response &res,
|
|||
} else if (type == detail::EncodingType::Brotli) {
|
||||
#ifdef CPPHTTPLIB_BROTLI_SUPPORT
|
||||
compressor = detail::make_unique<detail::brotli_compressor>();
|
||||
content_encoding = "brotli";
|
||||
content_encoding = "br";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue