mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
LibWeb: Advertise that we support the deflate content encoding
This commit is contained in:
parent
6cad2aba5e
commit
dddaa529b2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue