Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

Server return code on Apache server

Is it possible to set the server return code on Apache server such that when a client retrieve a XML file from the server, it will return a code 200 when it have sent out successfully.

Thanks
Avatar of Swafnil
Swafnil
Flag of Germany image

This already happens if the XML file has been found and sent to the client:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Each successful call returns a 2xx message (or 304 in case a file has not changed since the last visit), client errors generate a 4xx status and server faults result in a 5xx status.

So why would you like to change the server behavior instead of checking for the correct states on the client side?
Avatar of AXISHK
AXISHK

ASKER

https://www.myciscocommunity.com/thread/14535

The XML file placed on the server couldn't be read by Cisco phone properly, as it expect an 200 code to return to the phone.

So, is it the way to go  ?

Tks
ASKER CERTIFIED SOLUTION
Avatar of Swafnil
Swafnil
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

tks