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

All times above are in ranch (not your local) time.
The current ranch time is
Nov 18, 2017 22:12:33.