Hi,

Using header_filter plugin, I can add or replace header to the request/response.
However, I find it often useful to add/replace header based on some conditions.
I know we can attach the plugin to the mapping rules that we want in
remap.config and therefore giving us the ability to add/replace
headers per remap rules.
But I think it is still a bit limited.
e.g. I want to add an extra header to the request when the user agent
is indicating a smartphone,  And a different header for user agent
indicating a tablet.

I think header_filter plugin is actually taking ideas from a older
plugin that Leif worked on while he is in Yahoo!
The old plugin is actually allowing us to specify more various
conditions for adding/replacing/removing headers on
requests/responses.
Are there any reasons why we are not exposing more options in this plugin?

Thanks.

Kit

Reply via email to