Forums Register Login
Deleting response header
Can somebody qualify what is behavior of a call resp.setHeader("my-header", null);?
My intension is to delete some headers set. Is any other way to do that?
I don't think you can delete a header once it is set. You could create a wrapper for the response object that intercepts the set statement though.
Or probably a redirect so that the response headers are un-set due to the redirect?
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 440 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 20, 2018 12:13:18.