How to remove a response header from a ultra task


I think we have plenty of articles that show how to add a custom header into the response header of an ultra task. But, how to remove a header from the response?

Maybe more specific, currently for Ultra task, there’s a ‘Server’ header in the response. How to remove it?


I think this is automatically added by the ‘Jetty’ web server that is used internally in the Snaplex node software. You’re not going to be able to remove it, but it looks like you can supply your own ‘Server’ header and then Jetty won’t add its own header.

If you have a ultra load balancer in place, another option would be to change the load balancer to remove the Server header. The details would depend on what kind of load balancer is being used.