The "headers_more" module: Set and clear output headers...more than "add"!

agentzh agentzh at gmail.com
Wed Nov 18 05:18:26 MSK 2009


On Tue, Nov 17, 2009 at 6:00 PM, agentzh <agentzh at gmail.com> wrote:
> One important TODO is to allow variables within the new headers'
> values. That's where "headers_more" is "less" than the standard
> "headers" module :P
>

Okay, I've just shamelessly stolen the implementation directly from
the standard "headers" module, and made variables-in-header-values
work as expected. For example,

    set $my_server 'Super Star Server';
    more_set_headers 'Server: $my_server';

This feature is now included in v0.02:

   http://github.com/agentzh/headers-more-nginx-module/downloads

But another TODO comes into my mind: adding support for input headers!
Stay tuned :)

Have fun!
-agentzh





More information about the nginx mailing list