From c6492bfaa8662c1ae7cbf2b56024b54408bd3b9e Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 9 Mar 2018 18:52:51 +0100 Subject: [PATCH] Defaults to HTTP/1.1 for cURL --- alexa_remote_control.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alexa_remote_control.sh b/alexa_remote_control.sh index ab18d3a..3903ab1 100644 --- a/alexa_remote_control.sh +++ b/alexa_remote_control.sh @@ -55,8 +55,9 @@ CURL='/usr/bin/curl' # cURL options # -k : if your cURL cannot verify CA certificates, you'll have to trust any # --compressed : if your cURL was compiled with libz you may use compression +# --http1.1 : cURL defaults to HTTP/2 on HTTPS connections if available OPTS='--compressed --http1.1' -#OPTS='-k --compressed' +#OPTS='-k --compressed --http1.1' # browser identity BROWSER='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0'