caddy/caddyhttp/httpserver
M-A 8464020f7c Add {whenISO} to record timestamp in ISO 8601 format in UTC. (#1353)
* Add {whenISO} to record timestamp in ISO 8601 format in UTC.

ISO 8601 is the standard time format and is easy to parse.

This change assumes users desiring ISO 8016 generally prefer UTC for simplicity.
This results in {whenISO} to be significantly shorter than {when}:
{when}    = "02/Jan/2006:15:04:05 +0000"
{whenISO} = "2006-01-02T15:04:12Z"

Add unit test to verify both, as there was no unit test for {when}.

* Rename {whenISO} to {when_iso}
2017-01-14 15:54:27 -07:00
..
condition_test.go Fix misspellings 2016-09-05 10:20:34 -06:00
condition.go Fix small misspellings 2017-01-10 13:09:24 -08:00
context_test.go Ensure some tests remove temporary directories they created 2016-11-28 22:26:54 -07:00
context.go templates: Add arguments to .Include 2016-11-20 21:40:06 -07:00
error.go add more descriptive errors 2016-10-11 10:34:51 +08:00
graceful.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
https_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
https.go Close connection on automatic HTTP->HTTPS redirects 2017-01-01 10:27:53 -07:00
middleware_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
middleware.go Clarify godoc for HTTP handler signature 2016-08-25 17:13:49 -06:00
path.go Proposal: Middleware Config (#908) 2016-07-08 18:12:52 -06:00
pathcleaner_test.go Implementing custom PathClean function to allow masking, closes #1298 (#1317) 2016-12-31 20:29:14 -07:00
pathcleaner.go Implementing custom PathClean function to allow masking, closes #1298 (#1317) 2016-12-31 20:29:14 -07:00
plugin_test.go Add tests for case insensitivity of keys and saving contexts 2016-09-24 13:24:33 -06:00
plugin.go Fix position of "filter" in directives (#1323) 2017-01-03 09:03:13 -07:00
recorder_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
recorder.go add more descriptive errors 2016-10-11 10:34:51 +08:00
replacer_test.go Add {whenISO} to record timestamp in ISO 8601 format in UTC. (#1353) 2017-01-14 15:54:27 -07:00
replacer.go Add {whenISO} to record timestamp in ISO 8601 format in UTC. (#1353) 2017-01-14 15:54:27 -07:00
roller.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
server_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
server.go Implementing custom PathClean function to allow masking, closes #1298 (#1317) 2016-12-31 20:29:14 -07:00
siteconfig.go Add maxrequestbody directive (#1163) 2016-11-04 08:25:49 +08:00
vhosttrie_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
vhosttrie.go Don't treat localhost specially when assigning bind address 2016-06-27 13:14:28 -06:00