cURL / Mailing Lists / curl-library / Single Mail


Re: URL - do you specify only the host or the whole thing?

From: Dan Fandrich <>
Date: Tue, 1 Mar 2011 13:23:50 -0800

On Tue, Mar 01, 2011 at 03:59:45AM -0500, wrote:
> In libcurl, is it usual to identify the host differently from the
> rest of the URL? eg for
> does one fix the host name and then change the portion after the host
> name between calls?

That's completely up to the app. libcurl takes a single string containing
the URL; how that is generated by the app is irrelevant to it.

>>> Dan
List admin:
Received on 2011-03-01