about summary refs log tree commit diff stats
path: root/src/bindings
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 /src/bindings
parentd454eab33b645e108a8a2dae84bdbcece6f7e877 (diff)
downloadchawan-85c5b568510e3be46252a0857e412ef0f66eb6de.tar.gz
http: use Accept-Encoding
just ask libcurl to decode
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/curl.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bindings/curl.nim b/src/bindings/curl.nim
index 46553539..cd9e409a 100644
--- a/src/bindings/curl.nim
+++ b/src/bindings/curl.nim
@@ -93,6 +93,7 @@ type
     CURLOPT_POSTFIELDS = CURLOPTTYPE_OBJECTPOINT + 15
     CURLOPT_HTTPHEADER = CURLOPTTYPE_SLISTPOINT + 23
     CURLOPT_HEADERDATA = CURLOPTTYPE_CBPOINT + 29
+    CURLOPT_ACCEPT_ENCODING = CURLOPTTYPE_STRINGPOINT + 102
     CURLOPT_MIMEPOST = CURLOPTTYPE_OBJECTPOINT + 269
 
     # Functionpoint