summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/requestbody/requestbody.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-06-04 10:32:01 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-06-04 10:32:01 -0600
commit7b0962ba4df7e1dd7ab3f193fba394a4b899c431 (patch)
tree94e0ebcbe0e44392fb8b3bbb240208dc904a6cd8 /modules/caddyhttp/requestbody/requestbody.go
parent2d1f7b9da8ec23be10639e557536e029dedf83f6 (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