Lines Matching full:url

25 curl_url_set - set a URL part
29 CURLUcode curl_url_set(CURLU *url,
35 Given the \fIurl\fP handle of an already parsed URL, this function lets the
38 The \fIpart\fP argument should identify the particular URL part (see list
40 string with the new contents for that URL part. The contents should be in the
41 form and encoding they'd use in a URL: URL encoded.
49 Allows the full URL of the handle to be replaced. If the handle already is
50 populated with a URL, the new URL can be relative to the previous.
52 When successfully setting a new URL, relative or absolute, the handle contents
53 will be replaced with the information of the newly set URL.
55 Pass a pointer to a null-terminated string to the \fIurl\fP parameter. The
56 string must point to a correctly formatted "RFC 3986+" URL or be a NULL
59 Scheme cannot be URL decoded on set.
70 Port cannot be URL encoded on set. The given port number is provided as a
74 If a path is set in the URL without a leading slash, a slash will be inserted
75 automatically when this URL is read from the handle.
77 The query part will also get spaces converted to pluses when asked to URL
86 first '=' symbol will not be URL encoded.
88 The question mark in the URL is not part of the actual query contents.
90 The hash sign in the URL is not part of the actual fragment contents.
96 When set, \fIcurl_url_set(3)\fP URL encodes the part on entry, except for
97 scheme, port and URL.
99 When setting the path component with URL encoding enabled, the slash character
102 The query part gets space-to-plus conversion before the URL conversion.
104 This URL encoding is charset unaware and will convert the input on a
107 If set, will make libcurl allow the URL to be set without a scheme and then
111 If set, will make libcurl allow the URL to be set without a scheme and it
126 A URL string passed on to \fIcurl_url_set(3)\fP for the \fBCURLUPART_URL\fP
130 If this function returns an error, no URL part is returned.
134 CURLU *url = curl_url();
135 rc = curl_url_set(url, CURLUPART_URL, "https://example.com", 0);
138 /* change it to an FTP URL */
139 rc = curl_url_set(url, CURLUPART_SCHEME, "ftp", 0);
141 curl_url_cleanup(url);