On Friday, November 11, 2011 9:31 PM, "Branko Čibej" <br...@xbc.nu> 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 tried this recently, too, and was rather surprised to find that it didn't
> > do what I expected.
> 
> That's because the user:passwd@host syntax is not valid for HTTP URLs.

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 | less each time I want to do
them.)

Thanks,

Daniel

Reply via email to