summaryrefslogtreecommitdiff
path: root/modules/caddyhttp
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-12-02 13:27:08 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-12-02 13:27:08 -0700
commit792fca40f18b7c528b00a7dea508bdfd0821dd8c (patch)
treeaf74a7e9857c916bfcf88d38149036a85fbe0e90 /modules/caddyhttp
parent9157051f45b8c1354b6c8432457ca4930ba90d9e (diff)
Minor comments
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r--modules/caddyhttp/server.go3
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