diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-06-04 10:32:01 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-06-04 10:32:01 -0600 |
commit | 7b0962ba4df7e1dd7ab3f193fba394a4b899c431 (patch) | |
tree | 94e0ebcbe0e44392fb8b3bbb240208dc904a6cd8 /modules/caddyhttp/requestbody/requestbody.go | |
parent | 2d1f7b9da8ec23be10639e557536e029dedf83f6 (diff) |
caddyhttp: Default to error status if found in context
This is just a convenience if using a static_response handler in an
error route, by setting the default status code to the same one as
the error status.
Diffstat (limited to 'modules/caddyhttp/requestbody/requestbody.go')
0 files changed, 0 insertions, 0 deletions