Comment 4 for bug 506196

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 506196] Re: SVN checkout failing with empty authentication details

On Tue, 2010-01-12 at 02:26 +0000, Martin Pool wrote:
> 2010/1/12 Jelmer Vernooij <email address hidden>:
> > This is triggered by bzr probing for a smart server - the POST request
> > makes djangoproject.com reply with a 401, which causes the prompt.
>
> I wonder what we should do about that? The server is saying "you can
> use bzr if you authenticate" so it's reasonable for us to ask the user
> to authenticate.
>
> Perhaps we should give a message "server requested authentication for
> $url: $auth_domain"
>
> But really if the server's kind-of offering bzr+http, perhaps the user
> needs to specify the svn scheme.
>
> Perhaps we should try "HEAD .bzr" before posting?
GET .bzr/format before the POST should work around this I think. That
avoids an extra HTTP request.

Cheers,

Jelmer