diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-12-02 13:27:08 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-12-02 13:27:08 -0700 |
commit | 792fca40f18b7c528b00a7dea508bdfd0821dd8c (patch) | |
tree | af74a7e9857c916bfcf88d38149036a85fbe0e90 /modules/caddyhttp | |
parent | 9157051f45b8c1354b6c8432457ca4930ba90d9e (diff) |
Minor comments
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/server.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go index cff0f2e..ad873c8 100644 --- a/modules/caddyhttp/server.go +++ b/modules/caddyhttp/server.go @@ -74,6 +74,9 @@ type Server struct { // handlers are executed sequentially. The sequence of invoked // handlers comprises a compiled middleware chain that flows // from each matching route and its handlers to the next. + // + // By default, all unrouted requests receive a 200 OK response + // to indicate the server is working. Routes RouteList `json:"routes,omitempty"` // Errors is how this server will handle errors returned from any |