Prevent apache http server changing response code
- by Brad
Hi all,
I have a servlet providing a REST based service running on tomcat which I am accessing through Apache Http Server v2.2. My problem is that a response code for one for the service methods is being changed when it passes through http server.
I have a curl script which I use to test the service. It is supposed to return a 204 No content response which it does when I hit the servlet directly. When I hit Apache with the script the response gets changed to a 200 Ok.
Can anyone with experience of configuring Apache advise me how to fix this?
Thanks,
Brad.