Fix incorrect content_encoding for Brotli (#763)

This commit is contained in:
Unkorunk authored and GitHub committed 2020-11-19 12:39:20 -05:00
1 parent e1133a2dcb
commit b21dc8cbe0
1 file changed
+1 -1
+1 -1
View File
@@ -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
}