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

Re: [PATCH] Make ra_serf handle '403 Forbidden' response.

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2007-06-25 20:34:13 CEST

On 6/25/07, Lieven Govaerts <lgo@mobsol.be> wrote:
> I have some problems to get the authz_tests working on my (Windows)
> laptop with ra_serf. What happens is that svn will abort on all tests
> the involve a '403 Forbidden' response from apache.
> Am I the only one with this problem?

Weird.

> Attached patch will make ra_serf raise an error upon receiving a reponse
> with code 403. It only does a minimum of cleanup before returning the
> error. I think that's ok, but would appreciate a second opinion.

+1 in concept.

Do note that this will orphan the code in locks.c that checks for 403
condition explicitly. I think it's okay and that section could then
be removed - but there could be some fallout from capturing 403s
everywhere. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 25 20:33:54 2007

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.