Vincent Tencé

Results 31 issues of Vincent Tencé

Servers historically default on using ISO-8859-1 for the response and request when no charset is specified. It's time to use UTF-8 as the default.

enhancement

For simple self-contained scenarios, we'd like the ability to load static assets (images, css, js, etc.) from the classpath - in situations where they're bundled in the jar.

enhancement

A middleware that makes a CSRF token available in the session. This token can then be added to requests which mutate state, as a parameter of header. The token is...

feature

The server is currently capable of reporting failures to an error monitor. We could extend monitoring to reporting requests processed, I/O errors, pipeline processing errors and maybe more.

enhancement

A middleware for automatically adding a format extension at the end of the request path based on the Accept http header. For instance: ``` GET /some/resource Accept: application/json ``` would...

feature

Documentation in a format that is easy to update and better looking that the actual README. Options to consider include GitBook and Jekyll.

question

A more capable i18n middleware than our current locale negotiation middleware. On an incoming request, it first tries to detect the locale value from the URI, then from a locale...

feature

A middleware to hand off processing to a different application when the host of the request matches a given hostname. So we can write, e.g.: ``` java Application serveAssets =...

feature

Make ETag middleware configurable with a list of body types considered not cacheable. When we encounter one of those bodies, we won't generate an ETag, Something like: ``` java new...

enhancement

Make it possible to specify when a bound parameter is optional in a dynamic route, e.g.: ``` get("/products/:id(.:format)").to(products::show) ``` would specify that `.:format` is optional and match both `/products/1` and...

enhancement