The Reason-Phrase constants are not needed for
programming puprposes, according to rfc2616 :
http://www.rfc-editor.org/rfc/rfc2616.txt
"The Reason-Phrase is intended to give a short textual
description of the Status-Code. The Status-Code is
intended for use by automata and the Reason-Phrase
is intended for the human user."
The System.web.HttpResponse.StatusCode method
allows you to program against the Status Code numbers.
Search that document for "The first digit of the Status-Code"
to see a complete description for each Status Code
and their Reason-Phrases.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaņol
Ven, y hablemos de ASP.NET...
======================
"Andy Fish" <aj****@blueyonder.co.uk> wrote in message
news:OL**************@TK2MSFTNGP10.phx.gbl...
Hi,
I've RTFM'd in vain for some named constants in the asp.net framework
representing the HTTP error codes - the equivalent of Java's
HttpServletResponse.SC_NOT_FOUND for 404 etc.
All the examples I've seen just use numbers. Anyone seen proper constant
definitions for these?
Andy