headers-more-nginx-module
headers-more-nginx-module copied to clipboard
Does clearing a header field delete the field or just its value
Hi all – I had a quick question about what "clearing" means. Will it delete the header field from the overall HTTP response header, or just delete its value?
The way it's presented here:
more_set_headers -s 404 -t 'text/plain' "Foo: " "Baz: ";
makes it look like it would keep the header field with a blank space for its value.
Clearing means deleting the whole header entry, including names. It's easier to try it out yourself BTW.
Thanks. This is a great module.