On 12.11.2011 08:12, Daniel Shahaf wrote:
> On Friday, November 11, 2011 9:31 PM, "Branko Čibej" <brane_at_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_at_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_at_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
Nope. When I want to do magic stuff with request headers, I either use
curl, or an appropriate browser plugin.
Received on 2011-11-12 14:11:36 CET