Skip to content
#

http-server

Here are 2,166 public repositories matching this topic...

caddy
utilitynerd
utilitynerd commented Aug 31, 2020

I would like to be able to prevent certain headers (Authorization: X-Auth-Token:, etc ) from being included in the caddy logs.

I found caddyserver/caddy#3562, which is asking to be able to set an allowlist of headers, which makes sense for their use case.

In my case, a blocklist, makes more sense, as I only want to prevent a single header from being included in the

armeria
ikhoon
ikhoon commented Mar 19, 2020

In our codebase, we push RequestContext and immediately run some code with try-with-resources.
For example:

try (SafeCloseable ignored = ctx.push()) {
    logger.trace(decorate(msg));
}

If RequestContext provides run(Runnable) or call(Callable) we can reduce boilerplate code and simplify it.

ctx.run(() -> logger.trace(decorate(msg));

This is inspired by g

ChristopherDavenport
ChristopherDavenport commented Aug 20, 2020

Discoverabilith of middleware is not as good as it could be. We can create a middlewares page on the site documenting what we have available as well as a community section at the bottom where others can list their middlewares since a lot of our features come from middleware.

Improve this page

Add a description, image, and links to the http-server topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the http-server topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.