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?
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 413 times.

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2018 09:11:05.