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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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