]> git.plutz.net Git - cgilite/blobdiff - cgilite.sh
force http status code with redirect
[cgilite] / cgilite.sh
index c00f9e7cd930674b052e3af1d49b1ebc68562cb7..0edb5bca75b8d29c76070100e5fbbf1df69e8796 100755 (executable)
@@ -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
 }