curl-users
Re: man curl review
Date: Mon, 13 Aug 2012 21:50:00 +0100
--On 13 August 2012 16:35:08 -0400 Anthony Bryan <anthonybryan_at_gmail.com>
wrote:
> Curl also supports user and password in HTTP URLs, thus you can pick a
> file like:
>
> ...
>
> NOTE! Since HTTP URLs don't support user and password, you can't use
> that style when using Curl via a proxy. You _must_ use the -u style
> fetch during such circumstances.
>
> 2nd HTTP should be HTTPS?
As far as I know, HTTP and HTTPS URIs have identical support for username
and passwords - that is essentially none (though some browsers user to
offer it). I /think/ what the first paragraph is saying is that curl will
extract the username and password from the URI and use that for basic auth,
and present the sanitised URI as the GET/PUT parameter. This explanation
would help explain the second paragraph. Whatever, this could do with
rephrasing, and I am pretty sure it isn't an HTTP/HTTPS distinction.
-- Alex Bligh ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-08-13