diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-08-09 11:11:52 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-08-09 11:12:09 -0600 |
commit | 91ab0e60669b84b7c09189a06de0d6a9771bf950 (patch) | |
tree | 5a21976f08149dfecbae091dc560d4110d087770 /caddyconfig/httpcaddyfile/addresses_test.go | |
parent | 085df25c7e82b5bdd198787232d559f2ac1e72eb (diff) |
httpcaddyfile: redir with "html" emits 200, no Location (fix #4940)
The intent of "html" is to redirect browser clients only, or those which can evaluate JS and/or meta tags. So return HTTP 200 and no Location header. See #4940.
Diffstat (limited to 'caddyconfig/httpcaddyfile/addresses_test.go')
0 files changed, 0 insertions, 0 deletions