From c7486ead96dad647b9783941722b5944ac1aaefa Mon Sep 17 00:00:00 2001 From: Rodolphe Date: Wed, 17 Nov 2021 19:14:31 +0100 Subject: [PATCH] accept protobuf encoding (#1096) Co-authored-by: rodolphe --- httplib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/httplib.h b/httplib.h index 4268323..7027533 100644 --- a/httplib.h +++ b/httplib.h @@ -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"; }