printf 'HTTP/0.1 302 permanently moved\nlocation: %s\n\n' "$1"