diff options
author | Michiel Visser <opensource@webmichiel.nl> | 2022-03-31 21:08:10 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-21 22:41:40 +0200 |
commit | 7278ad761ecb56f6b452925df6f292210e7f903d (patch) | |
tree | 3721d500dec5e1a4d7f6128b5db4b76776b6c255 /Userland/Libraries/LibWeb | |
parent | d6a5b11f04dcb9760bd3723793bfe2c25d585aab (diff) | |
download | serenity-7278ad761ecb56f6b452925df6f292210e7f903d.zip |
LibHTTP+LibWeb: Accept Brotli encoded responses
Diffstat (limited to 'Userland/Libraries/LibWeb')
-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 c79b17ea8e..498286e3bd 100644 --- a/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp +++ b/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp @@ -225,7 +225,7 @@ void ResourceLoader::load(LoadRequest& request, Function<void(ReadonlyBytes, Has HashMap<String, String> headers; headers.set("User-Agent", m_user_agent); - headers.set("Accept-Encoding", "gzip, deflate"); + headers.set("Accept-Encoding", "gzip, deflate, br"); for (auto& it : request.headers()) { headers.set(it.key, it.value); |