aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/rfcf2
-rwxr-xr-xbin/urlh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/rfcf b/bin/rfcf
index 72c076a9..633eaace 100755
--- a/bin/rfcf
+++ b/bin/rfcf
@@ -9,4 +9,4 @@ fi
rn=$1
# Retrieve the RFC with curl(1)
-curl https://tools.ietf.org/rfc/rfc"$rn".txt
+curl -fsSL https://tools.ietf.org/rfc/rfc"$rn".txt
diff --git a/bin/urlh b/bin/urlh
index 6a768a9f..8e9463e7 100755
--- a/bin/urlh
+++ b/bin/urlh
@@ -9,7 +9,7 @@ fi
url=$1 header=$2
# Run cURL header request
-curl -I -- "$url" |
+curl -fIsSL -- "$url" |
# Unfold the headers
unf |