caddy/caddyhttp/browse
Peer Beckmann bb7787d2ee Remove the eager check in the browse middleware (#1144)
* Remove the eager check in the browse middleware, whether the root directory exists.
Caddy will start and throw a 404-error until the directory will be created.

* Add the complimentary test.
 - Tests the startup of the browse middleware if the site root is inexistent and browse is pointing to the site root.

* Some minor stylistic tweaks.
2016-09-28 12:23:44 -06:00
..
testdata Migrate remaining middleware packages 2016-06-05 22:39:23 -06:00
browse_test.go Eliminate ineffectual assignments 2016-09-05 10:30:46 -06:00
browse.go Export staticfiles.Redirect for convenience in preserving query string 2016-08-06 14:40:58 -06:00
setup_test.go Remove the eager check in the browse middleware (#1144) 2016-09-28 12:23:44 -06:00
setup.go Remove the eager check in the browse middleware (#1144) 2016-09-28 12:23:44 -06:00