A
Andy Fish
Dear esteemed gurus of HTTP (I hope you're out here somewhere)
please excuse the crosspost but there isn't really an HTTP newsgroup as
such.
I have a GUI app which will communicate with a server over HTTP. I would
like to return more status information than just the straight HTTP error
code, but I want to leave the response body as HTML or XML so that a browser
client can make sense of the output as well. I don't want the GUI app to
have to parse a browser-friendly HTML page to get the extra status
information.
my question is, is it acceptable to add my own custom HTTP header to convey
this information? am I guaranteed that proxy servers will pass on any such
unrecognised headers unmodified?
Many thanks
Andy
please excuse the crosspost but there isn't really an HTTP newsgroup as
such.
I have a GUI app which will communicate with a server over HTTP. I would
like to return more status information than just the straight HTTP error
code, but I want to leave the response body as HTML or XML so that a browser
client can make sense of the output as well. I don't want the GUI app to
have to parse a browser-friendly HTML page to get the extra status
information.
my question is, is it acceptable to add my own custom HTTP header to convey
this information? am I guaranteed that proxy servers will pass on any such
unrecognised headers unmodified?
Many thanks
Andy