Ngx_headers_more v0.09: wildcard support in more_clear_headers

Hi, folks!

I’m delighted to announce the v0.09 release of the ngx_headers_more
module:

http://github.com/agentzh/headers-more-nginx-module/tarball/v0.09

This module allows you to add, set, or clear any output or input
headers that you specify. This is an enhanced version of the standard
headers module because it provides more utilities like resetting or
clearing “builtin headers” like Content-Type, Content-Length, and
Server.

This release features the wildcard (*) support in the
more_clear_headers directive. For example, the following directive
effectively clears any output headers starting by “X-Hidden-”:

more_clear_headers 'X-Hidden-*';

Thanks our new contributor Bernd Dorn for implementing this :slight_smile:

See the complete change log for this version if you’re interested:

http://wiki.nginx.org/NginxHttpHeadersMoreModule#v0.09

Also, in the previous version, i.e., v0.08, Bernd Dorn also introduced
the “-r” option to the more_set_input_headers directive to replace the
value of the input header specified if and only if that header
actually exists.

You can find the complete documentation of this module on the nginx wiki
site:

http://wiki.nginx.org/NginxHttpHeadersMoreModule

Enjoy!

Best,
-agentzh