[Flow] WebRedirect filter by Accept: header

Adrian Föder adrian at foeder.de
Thu Apr 17 09:37:59 CEST 2014


Hi,

a couple of times it happens that the user stays on a page, the session 
expires, and an AJAX request would get a 403, but due to the WebRedirect 
he gets redirected to the login page, usually.

Wouldn't it make sense to have an additional option in the WebRedirect 
entry point options which will only match if the Accept header is, for 
example, only of type text/html,application/xml etcpp ?

If I got that right, that could maybe even be achieved with Eel matchers...?

Best,
Adrian


More information about the Flow mailing list