If, for example, galah is returning a redirect response, it should return the appropriate return code (bonus: make return codes other than 200 optional).
Current behavior:
curl -i http://localhost:8080/wp-admin/
HTTP/1.1 200 OK
Connection: keep-alive
Location: http://localhost:8080/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%3A8080%2Fwp-admin%2F&reauth=1
Server: Apache/2.4.1 (Unix)
Date: Mon, 22 Jan 2024 16:51:24 GMT
Content-Length: 0
Changed behavior:
curl -i http://localhost:8080/wp-admin/
HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Location: http://localhost:8080/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%3A8080%2Fwp-admin%2F&reauth=1
Server: Apache/2.4.1 (Unix)
Date: Mon, 22 Jan 2024 16:51:24 GMT
Content-Length: 0
If, for example, galah is returning a redirect response, it should return the appropriate return code (bonus: make return codes other than 200 optional).
Current behavior:
Changed behavior: