mirror of
https://github.com/caddyserver/caddy.git
synced 2026-11-13 04:04:14 +00:00
A CGI script that redirects by printing only a Location header got a
200 response with that header, which clients do not follow. RFC 3875
section 6.2.3 says the server sends 302 Found for this response, and
net/http/cgi, nginx and Apache do so.
(cherry picked from commit 1962b20401)