mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 14:06:17 -04:00
docs: All-new design, along with many content updates in prep for RC1
This commit is contained in:
parent
fe58da0269
commit
3ecf039665
23 changed files with 562 additions and 435 deletions
|
@ -23,6 +23,10 @@ respond [<matcher>] <status>|<body> [<status>] {
|
|||
|
||||
To clarify, the first non-matcher argument can be either a 3-digit status code or a response body string. If it is a body, the next argument can be the status code.
|
||||
|
||||
<aside class="tip">
|
||||
Responding with an error status code is different than returning an error in the handler chain, which invokes error handlers internally.
|
||||
</aside>
|
||||
|
||||
|
||||
## Examples
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue