From 1087d4df2a7342d2832ba3bab1843bf4a3040775 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Sun, 14 Jul 2024 21:28:19 +0200 Subject: add version 0.12.10 --- src/https@.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/https@.sh (limited to 'src/https@.sh') diff --git a/src/https@.sh b/src/https@.sh new file mode 100644 index 0000000..6a902b7 --- /dev/null +++ b/src/https@.sh @@ -0,0 +1,15 @@ +host=${1-0} +path=${2-} +port=${3-443} +args="" +if [ $# -gt 3 ] +then + shift; shift; shift + args="$@" +fi +echo "GET /${path} HTTP/1.1 +Host: $host:$port +" | HOME/bin/sslclient -XRHl0 $args -- "$host" "$port" sh -c ' + addcr >&7 + exec HOME/bin/delcr <&6 +' | awk '/^$/ { body=1; next } { if (body) print }' -- cgit v1.2.3