Roberto Clapis

Results 53 issues of Roberto Clapis

For various reasons (e.g. experiments) it might be useful to wrap interceptors. The problem is that once an interceptor gets wrapped, it will not be matched to its configurations anymore....

documentation
enhancement
v0.1

Currently we only support one key for this plugin, which makes key rotation impossible without disrupting the service. We should instead accept a set of keys and emit tokens with...

enhancement

We should provide a way to serve all HTML files in a directory as templates. This will allow interceptors to inject data and functions into templates without requiring the user...

v0.2

Currently we implement the draft spec, but eventually we'll need to switch to the structured headers format. https://w3c.github.io/reporting/#header

stretch
unplanned

We should provide some pre-baked configurations: 1) Basic, simple one: this is more of an example than a ready to use thing. The idea would be to showcase how a...

bancheck

As of today interceptors default are constructed in various different ways: * `NewPlugin` for `fetchmetadata` * `Default` for `coop` and `csp` * Just an `Interceptor` literal for `staticheaders` * A...

internal cleanup

### Issue Currently any HTML file served as a static file will not run any JS, as we do not inject nonces in static files. We should provide a way...

plugin
v0.2

Currently "Dispatcher" conveys the meaning of something that moves the responses to the output, that dispatches Write calls to response writers. What it does not convey is that it has...

v0.1

As much as we are relying on the typesystem to do the heavy lifting, we should create linters for some things: * ban imports (with an allowlist for exceptions) e.g....

enhancement
stretch