0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp/push
Thomas De Keulenaer 20f76a256e Push resources for indexFiles when surfing to directories
Use httpserver.IndexFile() to determine index files

Test if middleware pushes indexfile when requesting directory

Fix codereview issues

Serve original request first, push later

Revert "Serve original request first, push later"

This reverts commit 2c66f01115747e5665ba7f2d33e2fd551dc31877.
2017-07-24 12:36:07 +02:00
..
handler.go Push resources for indexFiles when surfing to directories 2017-07-24 12:36:07 +02:00
handler_test.go Push resources for indexFiles when surfing to directories 2017-07-24 12:36:07 +02:00
push.go Push resources for indexFiles when surfing to directories 2017-07-24 12:36:07 +02:00
setup.go Push resources for indexFiles when surfing to directories 2017-07-24 12:36:07 +02:00
setup_test.go push: Reorder before proxy; and allow zero arguments (cf. #1573) 2017-04-17 22:06:17 -06:00