Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does clearing a header field delete the field or just its value #56

Open
JoeUX opened this issue Jun 10, 2016 · 2 comments
Open

Does clearing a header field delete the field or just its value #56

JoeUX opened this issue Jun 10, 2016 · 2 comments

Comments

@JoeUX
Copy link

JoeUX commented Jun 10, 2016

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.

@agentzh
Copy link
Member

agentzh commented Jun 10, 2016

Clearing means deleting the whole header entry, including names. It's easier to try it out yourself BTW.

@JoeUX
Copy link
Author

JoeUX commented Jun 20, 2016

Thanks. This is a great module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants