diff options
author | Luke <luke.wilde@live.co.uk> | 2021-03-22 02:41:32 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-22 12:45:34 +0100 |
commit | dddaa529b29ec91bbeb3e9c092dada3733fdab10 (patch) | |
tree | 860b0978e76225622cdf62e3ccf35b1a4dd362fc /Userland/Libraries/LibWeb/Loader | |
parent | 6cad2aba5ee9bf9569fe5f60a8ff08add5cd2b47 (diff) | |
download | serenity-dddaa529b29ec91bbeb3e9c092dada3733fdab10.zip |
LibWeb: Advertise that we support the deflate content encoding
Diffstat (limited to 'Userland/Libraries/LibWeb/Loader')
-rw-r--r-- | Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp b/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp index 6dd30beb84..f151a9cfab 100644 --- a/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp +++ b/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp @@ -170,7 +170,7 @@ void ResourceLoader::load(const LoadRequest& request, Function<void(ReadonlyByte if (url.protocol() == "http" || url.protocol() == "https" || url.protocol() == "gemini") { HashMap<String, String> headers; headers.set("User-Agent", m_user_agent); - headers.set("Accept-Encoding", "gzip"); + headers.set("Accept-Encoding", "gzip, deflate"); for (auto& it : request.headers()) { headers.set(it.key, it.value); |