0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-02-24 23:57:05 -05:00
caddy/caddyhttp/httpserver
Augusto Roman dc3efc939c Add request placeholder support for querying request cookies. (#1392)
* 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 ~
2017-02-15 21:59:24 -07:00
..
condition.go Fix small misspellings 2017-01-10 13:09:24 -08:00
condition_test.go
context.go templates: Add arguments to .Include 2016-11-20 21:40:06 -07:00
context_test.go Ensure some tests remove temporary directories they created 2016-11-28 22:26:54 -07:00
error.go add more descriptive errors 2016-10-11 10:34:51 +08:00
graceful.go
https.go Close connection on automatic HTTP->HTTPS redirects 2017-01-01 10:27:53 -07:00
https_test.go
logger.go Feature #1246 - Remote syslog (#1301) 2017-02-08 08:02:09 -07:00
logger_test.go Feature #1246 - Remote syslog (#1301) 2017-02-08 08:02:09 -07:00
middleware.go
middleware_test.go
path.go
pathcleaner.go Implementing custom PathClean function to allow masking, closes #1298 (#1317) 2016-12-31 20:29:14 -07:00
pathcleaner_test.go Implementing custom PathClean function to allow masking, closes #1298 (#1317) 2016-12-31 20:29:14 -07:00
plugin.go Merge pull request #1425 from jung-kurt/cgi 2017-02-14 06:59:32 -07:00
plugin_test.go Add tests for case insensitivity of keys and saving contexts 2016-09-24 13:24:33 -06:00
recorder.go add more descriptive errors 2016-10-11 10:34:51 +08:00
recorder_test.go
replacer.go Add request placeholder support for querying request cookies. (#1392) 2017-02-15 21:59:24 -07:00
replacer_test.go Add request placeholder support for querying request cookies. (#1392) 2017-02-15 21:59:24 -07:00
roller.go Roll all logs by default (#1379) 2017-02-08 09:23:33 -07:00
server.go httpserver: support QUIC reload 2017-01-28 19:41:24 +08:00
server_test.go New 'timeouts' directive to configure timeouts; default timeouts enabled (#1368) 2017-01-24 08:15:25 -07:00
siteconfig.go New 'timeouts' directive to configure timeouts; default timeouts enabled (#1368) 2017-01-24 08:15:25 -07:00
vhosttrie.go
vhosttrie_test.go