about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-11-17 23:07:10 +0100
committerbptato <nincsnevem662@gmail.com>2023-11-17 23:17:39 +0100
commit85c5b568510e3be46252a0857e412ef0f66eb6de (patch)
tree6c221532931f42d129ac7ec0ac8da8a00a92b59c /res
parentd454eab33b645e108a8a2dae84bdbcece6f7e877 (diff)
downloadchawan-85c5b568510e3be46252a0857e412ef0f66eb6de.tar.gz
http: use Accept-Encoding
just ask libcurl to decode
Diffstat (limited to 'res')
-rw-r--r--res/config.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/config.toml b/res/config.toml
index dcf98951..f821d694 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -40,6 +40,7 @@ prepend-https = true
 default-headers = {
 	User-Agent = "chawan",
 	Accept = "text/html,text/*;q=0.5",
+	Accept-Encoding = "gzip, deflate",
 	Accept-Language = "en;q=1.0",
 	Pragma = "no-cache",
 	Cache-Control = "no-cache"