Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-15 | Minor tweaks | Matthew Holt | |
2019-07-12 | Get module name at runtime, and tidy up modules | Matthew Holt | |
2019-07-11 | Add error & subroute handlers; weakString; other minor handler changes | Matthew Holt | |
2019-07-09 | Flatten HTTP handler config (#2662) | Matthew Holt | |
Differentiating middleware and responders has one benefit, namely that it's clear which module provides the response, but even then it's not a great advantage. Linear handler config makes a little more sense, giving greater flexibility and simplifying the core a bit, even though it's slightly awkward that handlers which are responders may not use the 'next' handler that is passed in at all. | |||
2019-07-07 | Fix error handling with Validate when loading modules (fixes #2658) | Matthew Holt | |
The return statement was improperly nested in context.go | |||
2019-07-02 | go.mod: Append /v2 to module name; update all import paths | Matthew Holt | |
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning | |||
2019-06-30 | Add license | Matthew Holt | |
2019-06-27 | Implement etag; fix related bugs in encode and templates middlewares | Matthew Holt | |
2019-06-21 | Various bug fixes and minor improvements | Matthew Holt | |
- Fix static responder so it doesn't replace its own headers config, and instead replaces the actual response header values - caddyhttp.ResponseRecorder type optionally buffers response - Add interface guards to ensure regexp matchers get provisioned - Use default HTTP port if one is not explicitly set - Encode middleware writes status code 200 if not written upstream - Templates and markdown only try to execute on text responses - Static file server sets Content-Type based on file extension only (this whole thing -- MIME sniffing, etc -- needs more configurability) | |||
2019-06-14 | Rename caddy2 -> caddy | Matthew Holt | |
Removes the version from the package name | |||
2019-06-07 | Do not allow Go standard lib to sniff Content-Type header | Matthew Holt | |
2019-06-04 | Change import paths to GitHub package names | Matthew Holt | |
2019-05-22 | Export types and fields necessary to build configs (for config adapters) | Matthew Holt | |
Also flag most fields with 'omitempty' for JSON marshaling | |||
2019-05-21 | Module.New() does not need to return an error | Matthew Holt | |
2019-05-21 | Take care of remaining TODOs in the browse responder | Matthew Holt | |
2019-05-20 | Implement rewrite middleware; fix middleware stack bugs | Matthew Holt | |
2019-05-20 | Default error handler; rename StaticFiles -> FileServer | Matthew Holt | |