From 18ddb0d8827e3f253d12a52979ec14457722e06e Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 9 Mar 2018 18:53:33 +0100 Subject: [PATCH] Defaults to HTTP/1.1 for cURL --- alexa_remote_control_plain.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alexa_remote_control_plain.sh b/alexa_remote_control_plain.sh index 129f419..36ec2ab 100644 --- a/alexa_remote_control_plain.sh +++ b/alexa_remote_control_plain.sh @@ -31,8 +31,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'