diff options
author | bptato <nincsnevem662@gmail.com> | 2023-11-17 23:07:10 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-11-17 23:17:39 +0100 |
commit | 85c5b568510e3be46252a0857e412ef0f66eb6de (patch) | |
tree | 6c221532931f42d129ac7ec0ac8da8a00a92b59c /src/bindings | |
parent | d454eab33b645e108a8a2dae84bdbcece6f7e877 (diff) | |
download | chawan-85c5b568510e3be46252a0857e412ef0f66eb6de.tar.gz |
http: use Accept-Encoding
just ask libcurl to decode
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/curl.nim | 1 |
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 |