#!/bin/sh # head trick to prevent unable to write -error. curl -s -D /dev/stderr "$1" | head -c 1 | head -c 0