caddy/modules/caddyhttp
Matt Holt 2f91b44587
v2: Make tests work on Windows (#2782)
* file_server: Make tests work on Windows

* caddyfile: Fix escaping when character is not escapable

We only escape certain characters depending on inside or outside of
quotes (mainly newlines and quotes). We don't want everyone to have to
escape Windows file paths like C:\\Windows\\... but we can't drop the
\ either if it's just C:\Windows\...
2019-10-15 16:05:53 -06:00
..
caddyauth http: authentication module; hash-password cmd; http_basic provider 2019-10-10 14:37:27 -06:00
encode httpcaddyfile: Global storage configuration (closes #2758) 2019-09-19 12:42:36 -06:00
fileserver v2: Make tests work on Windows (#2782) 2019-10-15 16:05:53 -06:00
headers reverse_proxy/headers: Expose header replacement ability in Caddyfile 2019-09-20 13:13:49 -06:00
httpcache caddyhttp: Improve ResponseRecorder to buffer headers 2019-10-15 14:07:10 -06:00
markdown caddyhttp: Improve ResponseRecorder to buffer headers 2019-10-15 14:07:10 -06:00
requestbody Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00
reverseproxy reverse_proxy: optimize MaxIdleConnsPerHost default (#2809) 2019-10-11 23:57:11 -06:00
rewrite rewrite: Return parse error if too many Caddyfile args (fixes #2791) 2019-10-06 20:46:10 -06:00
starlarkmw http: Add Starlark handler 2019-10-10 11:02:16 -06:00
templates caddyhttp: Improve ResponseRecorder to buffer headers 2019-10-15 14:07:10 -06:00
caddyhttp.go caddyhttp: Improve ResponseRecorder to buffer headers 2019-10-15 14:07:10 -06:00
errors.go go.mod: Append /v2 to module name; update all import paths 2019-07-02 12:37:06 -06:00
matchers_test.go caddyhttp: Support placeholders in MatchHost (#2810) 2019-10-14 11:29:36 -06:00
matchers.go caddyhttp: Support placeholders in MatchHost (#2810) 2019-10-14 11:29:36 -06:00
replacer_test.go caddyhttp: host labels placeholders endianness from right->left 2019-10-14 12:09:43 -06:00
replacer.go caddyhttp: host labels placeholders endianness from right->left 2019-10-14 12:09:43 -06:00
responsewriter.go caddyhttp: Improve ResponseRecorder to buffer headers 2019-10-15 14:07:10 -06:00
routes.go Miscellaneous cleanups / comments 2019-10-10 15:38:30 -06:00
server.go v2: Project-and-CI-wide linter config (#2812) 2019-10-15 15:37:46 -06:00
staticerror.go Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00
staticresp_test.go Implement config adapters and beginning of Caddyfile adapter 2019-08-09 12:05:47 -06:00
staticresp.go httpcaddyfile: static_response -> respond; minor cleanups 2019-09-16 11:04:18 -06:00
subroute.go Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00
vars.go Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00