[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Prototype Big Checkout Blocker

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-02-27 19:40:55 CET

On 2/24/06, Justin Erenkrantz <justin@erenkrantz.com> wrote:
> On 2/24/06, Bruce Elrick <bruce.elrick@gmail.com> wrote:
> > Indeed, abuse of HTTP response codes if I ever saw it! ;-)
>
> 403 might be slightly better if we're to pick nits. (The server is
> forbidding itself from generating the response.) But, very few
> programs care what the specific 4xx code is if isn't 404 or 401.
>
> I do like the status line though. ;-) Keeping it distinctive may let
> it be easier for clients to figure out what a 403 in this case means
> when they put it into Google as ra_dav will print the status line in
> the error displayed to the user. ra_serf is likely to wind up doing
> the same; now, it'd just abort(). ;-) -- justin

And here's an updated version that includes fixes to all the problems
Justin pointed out to me. Still needs to be fixed to pull a list of
paths to block from the config file though.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Feb 27 20:32:33 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.