Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-27 | Use html/template for escaping by default | Matthew Holt | |
Allow HTML only with a few specific functions | |||
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-21 | Oops | Matthew Holt | |
2019-06-21 | Minor cleanups/improvements | Matthew Holt | |
2019-06-20 | caddyhttp: ResponseRecorder type for middlewares to buffer responses | Matthew Holt | |
Unfortunately, templates and markdown require buffering the full response before it can be processed and written to the client | |||
2019-06-18 | templates: Remove context functions implemented by sprig | Matthew Holt | |
2019-06-18 | Refactor templates execution; add sprig functions | Matthew Holt | |
2019-06-18 | Implement templates handler; various minor cleanups and bug fixes | Matthew Holt | |