mirror of
https://github.com/caddyserver/caddy.git
synced 2026-06-30 22:02:18 +00:00
* Add request placeholder support for querying request cookies.
This adds the ability to query the request cookies for placeholders
using the syntax "@cookiename".
For example, this would allow rewriting based on a cookie:
rewrite {
if @version is 'dev'
to /dev/index.html
}
* Switch cookie special char from @ to :
* Switch special char for cookies from : to ~
|
||
|---|---|---|
| .. | ||
| condition.go | ||
| condition_test.go | ||
| context.go | ||
| context_test.go | ||
| error.go | ||
| graceful.go | ||
| https.go | ||
| https_test.go | ||
| logger.go | ||
| logger_test.go | ||
| middleware.go | ||
| middleware_test.go | ||
| path.go | ||
| pathcleaner.go | ||
| pathcleaner_test.go | ||
| plugin.go | ||
| plugin_test.go | ||
| recorder.go | ||
| recorder_test.go | ||
| replacer.go | ||
| replacer_test.go | ||
| roller.go | ||
| server.go | ||
| server_test.go | ||
| siteconfig.go | ||
| vhosttrie.go | ||
| vhosttrie_test.go | ||