Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove http header from Response in WSO2 ESB

I am getting certain http headers in my response. out of those I want to remove one Header 'Server' which is giving information of server which I am using.

Date    Fri, 09 Jan 2015 11:11:17 GMT
Transfer-Encoding   chunked
#status#    HTTP/1.1 200 OK
Content-Type    text/xml;charset=UTF-8
Connection  Keep-Alive
Server  WSO2-PassThrough-HTTP

I have tried to put header mediator with action ='remove' but it is not removed.

please suggest.

like image 450
Deepak Verma Avatar asked Oct 18 '25 10:10

Deepak Verma


1 Answers

<property name="Server" action="remove" scope="transport"/>
like image 108
Jean-Michel Avatar answered Oct 20 '25 01:10

Jean-Michel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!