summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/caddyhttp_test.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2022-08-09 11:11:52 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2022-08-09 11:12:09 -0600
commit91ab0e60669b84b7c09189a06de0d6a9771bf950 (patch)
tree5a21976f08149dfecbae091dc560d4110d087770 /modules/caddyhttp/caddyhttp_test.go
parent085df25c7e82b5bdd198787232d559f2ac1e72eb (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 'modules/caddyhttp/caddyhttp_test.go')
0 files changed, 0 insertions, 0 deletions