I don't see a compelling use case for this.
Marc.
On Jul 4, 2008, at 2:26 PM, Stephan Koops wrote:
> Hi,
>
> RFC 2616 defines no reason phrases, but gives only examples. For
> debugging reasons it seems useful to me, to allow a resource method,
> to give another status than the default is.
> So I propose to change Response.Status from an enumeration to a
> class. The underlying HTTP container SHOULD (not must) send the
> given reason phrase to the client.
>
> best regards
> Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>
---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.