> From: Peter Allin [mailto:peter@arbejdskamp.dk]
>
> On Fri, 2003-01-03 at 18:01, Ben Collins-Sussman wrote:
>
> > And as Greg Stein mentioned in the issue, this is correct.
> 405 means
> > that there's no dav resource at that location (i.e. no repository).
> > 404 means you're looking in a dav-y area, but the resource dosen't
> > exist. Still, I guess it would be nice to throw *descriptive* error
> > strings to the user, which is what you're trying to do. :-)
>
> Yes - I agree that the return code from the server shouldn't
> be changed, but merely the presentation of the error shown to
> the user.
>
> Should the user actually see any of the HTTP error codes, or
> should all errors be "translated" into something more descriptive?
>
The user should always see the HTTP error codes. The reason behind this
is that proxy errors need to be communicated somehow, and HTTP reason
phrases often contain this information. Useful error messages shouldn't
come from the ra_dav client code. Useful error messages should be part
of the HTTP reason phrase or as part of the XML response content.
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 5 05:39:01 2003