mirror of
https://github.com/caddyserver/caddy.git
synced 2026-11-19 06:19:40 +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
|
||
|---|---|---|
| .. | ||
| caddyfile.go | ||
| client.go | ||
| client_test.go | ||
| contentlength_test.go | ||
| fastcgi.go | ||
| fastcgi_test.go | ||
| header.go | ||
| incremental_test.go | ||
| pool.go | ||
| reader.go | ||
| record.go | ||
| redirect_test.go | ||
| writer.go | ||