1
0
mirror of synced 2025-06-12 07:41:53 +03:00

accept protobuf encoding (#1096)

Co-authored-by: rodolphe <rodolphe@zen.ly>
This commit is contained in:
Rodolphe
2021-11-17 19:14:31 +01:00
committed by GitHub
parent 90a291214c
commit c7486ead96

View File

@ -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";
}