From 3eb45653f03d0e92bf4428f96d4f1fa8dc039df9 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 31 Oct 2023 15:44:03 -0400 Subject: [PATCH] add --compressed flag to curl --- playlet-lib/src/source/services/HttpClient.bs | 1 + 1 file changed, 1 insertion(+) diff --git a/playlet-lib/src/source/services/HttpClient.bs b/playlet-lib/src/source/services/HttpClient.bs index 09132da1..d6dca18f 100644 --- a/playlet-lib/src/source/services/HttpClient.bs +++ b/playlet-lib/src/source/services/HttpClient.bs @@ -163,6 +163,7 @@ namespace HttpClient command = `curl "${m.BuildUrl()}"` command += ` \\\n -X ${m._method}` command += ` \\\n --max-time ${m._timeoutSeconds}` + command += ` \\\n --compressed` if m._headers <> invalid for each key in m._headers