[Resteasy-users] How to remove headers from resteasy Response

2014-06-24 Thread ignou_mca
Hi Team, On one of my application I don't want the headers Pragma and Cache- Control but these headers are always coming in Response as below Pragma: No-cache Cache-Control: no-cache How I can remove those? Thanks BBSR

Re: [Resteasy-users] How to remove headers from resteasy Response

2014-06-24 Thread Weinan Li
Maybe you can use ResponseBuilder to build a custom response? In addition: While @Cache builds a complex Cache-Control header, @NoCache is a simplified notation to say that you don't want anything cached i.e. Cache-Control: nocache.” On Jun 24, 2014, at 10:34 PM, ignou_mca