#http
3 Einzeiler mit diesem Stichwort.
Alle Einzeiler mit Tag http
HTTP-Statuscode und Antwortheader einer URL anzeigen
$curl -sSI https://example.com/
HTTP-Statuscodes für eine Liste von URLs prüfen
$while read -r u; do printf '%s %s\n' "$(curl -o /dev/null -sS -w '%{http_code}' "$u")" "$u"; done < urls.txt
Weiterleitungskette einer URL mit Statuscodes anzeigen
$curl -sIL "http://example.com/" | grep -iE "^(HTTP/|location:)"