mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-18 11:09:39 +00:00
accept protobuf encoding (#1096)
Co-authored-by: rodolphe <rodolphe@zen.ly>
This commit is contained in:
1 parent
90a291214c
commit
c7486ead96
1 file changed
+1
@@ -2867,6 +2867,7 @@ inline bool can_compress_content_type(const std::string &content_type) {
|
|||||||
content_type == "application/javascript" ||
|
content_type == "application/javascript" ||
|
||||||
content_type == "application/json" ||
|
content_type == "application/json" ||
|
||||||
content_type == "application/xml" ||
|
content_type == "application/xml" ||
|
||||||
|
content_type == "application/protobuf" ||
|
||||||
content_type == "application/xhtml+xml";
|
content_type == "application/xhtml+xml";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user