mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-25 02:19:11 -04:00
Add two OPDS related mime-types to compress for HTTP
This commit is contained in:
1 parent
15179db945
commit
94c2ab4395
2 files changed
+6
-4
No files matched your search
@@ -34,6 +34,8 @@ bool is_compressible_mime_type(const std::string& mimeType)
|
||||
{
|
||||
return mimeType.find("text/") != string::npos
|
||||
|| mimeType.find("application/javascript") != string::npos
|
||||
|| mimeType.find("application/atom") != string::npos
|
||||
|| mimeType.find("application/opensearchdescription") != string::npos
|
||||
|| mimeType.find("application/json") != string::npos;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user