mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 01:33:53 +00:00
accept protobuf encoding (#1096)
Co-authored-by: rodolphe <rodolphe@zen.ly>
This commit is contained in:
parent
90a291214c
commit
c7486ead96
@ -2867,6 +2867,7 @@ inline bool can_compress_content_type(const std::string &content_type) {
|
||||
content_type == "application/javascript" ||
|
||||
content_type == "application/json" ||
|
||||
content_type == "application/xml" ||
|
||||
content_type == "application/protobuf" ||
|
||||
content_type == "application/xhtml+xml";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user