From: paul Date: Wed, 8 Nov 2017 15:24:05 +0000 (+0000) Subject: force http status code with redirect X-Git-Url: http://git.plutz.net/?p=cgilite;a=commitdiff_plain;h=bb05c0eeb7588817ce44cc1fc6292932b9c10d2c force http status code with redirect svn path=/trunk/; revision=56 --- diff --git a/cgilite.sh b/cgilite.sh index c00f9e7..0edb5bc 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -111,6 +111,6 @@ SET_COOKIE(){ } REDIRECT(){ - printf 'Location: %s\r\n\r\n' "$*" + printf '%s 303 See Other\r\nLocation: %s\r\n\r\n' "$SERVER_PROTOCOL" "$*" exit 0 }