diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-21 20:07:07 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-21 20:07:07 +0200 |
commit | 9e60296f92cb75ad10bfe23f6b84227d4d1cc222 (patch) | |
tree | b5325300c83ed09d5e657b70d5a7f636d7fd3865 /src/exchange-lib/exchange_api_refund.c | |
parent | 94f24f012c1ea3dee9aa46e7b0515c4cd02fea22 (diff) | |
download | exchange-9e60296f92cb75ad10bfe23f6b84227d4d1cc222.tar.xz |
use deflate in exchange-api
Diffstat (limited to 'src/exchange-lib/exchange_api_refund.c')
-rw-r--r-- | src/exchange-lib/exchange_api_refund.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange-lib/exchange_api_refund.c b/src/exchange-lib/exchange_api_refund.c index db8e1bd6d..1a50b0901 100644 --- a/src/exchange-lib/exchange_api_refund.c +++ b/src/exchange-lib/exchange_api_refund.c @@ -379,6 +379,10 @@ refund_obj = json_pack ("{s:o, s:o," /* amount/fee */ rh->url)); GNUNET_assert (CURLE_OK == curl_easy_setopt (eh, + CURLOPT_ENCODING, + "deflate")); + GNUNET_assert (CURLE_OK == + curl_easy_setopt (eh, CURLOPT_POSTFIELDS, rh->json_enc)); GNUNET_assert (CURLE_OK == |