Welcome! Log In Create A New Profile

Advanced

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

agentzh
November 17, 2009 09:24PM
On Tue, Nov 17, 2009 at 6:00 PM, agentzh <agentzh@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
Subject Author Posted

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

agentzh November 17, 2009 05:04AM

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

agentzh November 17, 2009 09:24PM

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

agentzh November 18, 2009 02:54AM

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

agentzh November 18, 2009 05:02AM

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

rmalayter December 04, 2009 10:19AM

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

Joshua Zhu November 17, 2009 10:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 56
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready