Re: Caching just the username for authn

2011-11-12 Thread Branko Čibej
On 12.11.2011 22:44, Konstantin Kolinko wrote: > 2011/11/13 Daniel Shahaf : >> Konstantin Kolinko wrote on Sat, Nov 12, 2011 at 23:34:49 +0400: >>> 2011/11/12 Daniel Shahaf : While we're on this topic: is there an HTTP URL syntax that sets the "Host:" header of the HTTP request?

Re: Caching just the username for authn

2011-11-12 Thread Branko Čibej
On 12.11.2011 20:34, Konstantin Kolinko wrote: > Regarding user:passwd@host syntax it us up to browser how to interpret the > URL. > If browser cannot interpret username and password in the URL it is > just browser's thing. It is not up to the browser at all. See RFC-2616 (HTTP 1.1), section 3.2.

Re: Caching just the username for authn

2011-11-12 Thread Daniel Shahaf
On Sunday, November 13, 2011 9:16 AM, "Konstantin Kolinko" wrote: > 2011/11/13 Daniel Shahaf : > > Konstantin Kolinko wrote on Sun, Nov 13, 2011 at 01:44:21 +0400: > >> 2011/11/13 Daniel Shahaf : > >> > Konstantin Kolinko wrote on Sat, Nov 12, 2011 at 23:34:49 +0400: > >> >> If you need http://fo

Re: Caching just the username for authn

2011-11-12 Thread Konstantin Kolinko
2011/11/13 Daniel Shahaf : > Konstantin Kolinko wrote on Sun, Nov 13, 2011 at 01:44:21 +0400: >> 2011/11/13 Daniel Shahaf : >> > Konstantin Kolinko wrote on Sat, Nov 12, 2011 at 23:34:49 +0400: >> >> If you need http://foo/ to be sent to server bar,  configure your DNS >> >> (e.g. by editing /etc/h

Re: Caching just the username for authn

2011-11-12 Thread Daniel Shahaf
Konstantin Kolinko wrote on Sun, Nov 13, 2011 at 01:44:21 +0400: > 2011/11/13 Daniel Shahaf : > > Konstantin Kolinko wrote on Sat, Nov 12, 2011 at 23:34:49 +0400: > >> If you need http://foo/ to be sent to server bar,  configure your DNS > >> (e.g. by editing /etc/hosts) so that "foo" resolves to b

Re: Caching just the username for authn

2011-11-12 Thread Konstantin Kolinko
2011/11/13 Daniel Shahaf : > Konstantin Kolinko wrote on Sat, Nov 12, 2011 at 23:34:49 +0400: >> 2011/11/12 Daniel Shahaf : >> > >> > While we're on this topic: is there an HTTP URL syntax that sets the >> > "Host:" header of the HTTP request? >> > >> >    curl -H "Host: foo" http://bar/percent_s >

Re: Caching just the username for authn

2011-11-12 Thread Daniel Shahaf
Konstantin Kolinko wrote on Sat, Nov 12, 2011 at 23:34:49 +0400: > 2011/11/12 Daniel Shahaf : > > > > While we're on this topic: is there an HTTP URL syntax that sets the > > "Host:" header of the HTTP request? > > > >    curl -H "Host: foo" http://bar/percent_s > > > > (Well, what I really want is

Re: Caching just the username for authn

2011-11-12 Thread Konstantin Kolinko
2011/11/12 Daniel Shahaf : > > While we're on this topic: is there an HTTP URL syntax that sets the > "Host:" header of the HTTP request? > >    curl -H "Host: foo" http://bar/percent_s > > (Well, what I really want is a way to tell $BROWSER to make such > requests, so I don't have to use curl | le

Re: Caching just the username for authn

2011-11-12 Thread Branko Čibej
On 12.11.2011 08:12, Daniel Shahaf wrote: > On Friday, November 11, 2011 9:31 PM, "Branko Čibej" wrote: >> On 11.11.2011 13:27, C. Michael Pilato wrote: >>> On 11/10/2011 04:48 PM, Hyrum K Wright wrote: The user I was talking to actually tried the above user@server syntax, but with https

Re: Caching just the username for authn

2011-11-11 Thread Daniel Shahaf
On Friday, November 11, 2011 9:31 PM, "Branko Čibej" wrote: > On 11.11.2011 13:27, C. Michael Pilato wrote: > > On 11/10/2011 04:48 PM, Hyrum K Wright wrote: > >> The user I was talking to actually tried the above user@server syntax, but > >> with https (which didn't work as he expected). > > I tr

Re: Caching just the username for authn

2011-11-11 Thread Branko Čibej
On 11.11.2011 13:27, C. Michael Pilato wrote: > On 11/10/2011 04:48 PM, Hyrum K Wright wrote: >> The user I was talking to actually tried the above user@server syntax, but >> with https (which didn't work as he expected). > I tried this recently, too, and was rather surprised to find that it didn't

Re: Caching just the username for authn

2011-11-11 Thread Hyrum K Wright
On Fri, Nov 11, 2011 at 6:27 AM, C. Michael Pilato wrote: > On 11/10/2011 04:48 PM, Hyrum K Wright wrote: > > The user I was talking to actually tried the above user@server syntax, > but > > with https (which didn't work as he expected). > > I tried this recently, too, and was rather surprised to

Re: Caching just the username for authn

2011-11-11 Thread C. Michael Pilato
On 11/10/2011 04:48 PM, Hyrum K Wright wrote: > The user I was talking to actually tried the above user@server syntax, but > with https (which didn't work as he expected). I tried this recently, too, and was rather surprised to find that it didn't do what I expected. Of course, if you're going to

Re: Caching just the username for authn

2011-11-10 Thread Hyrum K Wright
On Thu, Nov 10, 2011 at 3:13 PM, Peter Samuelson wrote: > > [Hyrum K Wright] > > "The username on my local box is different than my username on the > server, > > and I don't want to cache passwords. How can I cache just the username?" > > Aside from the real answer Stefan gave, with svn+ssh you

Re: Caching just the username for authn

2011-11-10 Thread Peter Samuelson
[Hyrum K Wright] > "The username on my local box is different than my username on the server, > and I don't want to cache passwords. How can I cache just the username?" Aside from the real answer Stefan gave, with svn+ssh you can specify user@server in the URI, and that is retained. Alternative

Re: Caching just the username for authn

2011-11-10 Thread Stefan Sperling
On Wed, Nov 09, 2011 at 06:50:35PM -0600, Hyrum K Wright wrote: > Somebody approached me a few minutes ago at ApacheCon and posed the > following question: > "The username on my local box is different than my username on the server, > and I don't want to cache passwords. How can I cache just the u

Re: Caching just the username for authn

2011-11-09 Thread Konstantin Kolinko
2011/11/10 Hyrum K Wright : > Somebody approached me a few minutes ago at ApacheCon and posed the > following question: > "The username on my local box is different than my username on the server, > and I don't want to cache passwords.  How can I cache just the username?" >  It turns out I didn't h