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?

This thread has been viewed 460 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 17, 2018 20:25:31.