• Home
  • Raw
  • Download

Lines Matching full:url

26 curl_url_set - set a URL part
31 CURLUcode curl_url_set(CURLU *url,
37 Given the \fIurl\fP handle of an already parsed URL, this function lets the
40 The \fIpart\fP argument should identify the particular URL part (see list
42 string with the new contents for that URL part. The contents should be in the
43 form and encoding they'd use in a URL: URL encoded.
54 set. Otherwise, this function returns \fICURLUE_UNSUPPORTED_SCHEME\fP on URL
64 Allows the full URL of the handle to be replaced. If the handle already is
65 populated with a URL, the new URL can be relative to the previous.
67 When successfully setting a new URL, relative or absolute, the handle contents
68 will be replaced with the information of the newly set URL.
70 Pass a pointer to a null-terminated string to the \fIurl\fP parameter. The
71 string must point to a correctly formatted "RFC 3986+" URL or be a NULL
75 the URL.
77 Scheme cannot be URL decoded on set. libcurl only accepts setting schemes up
95 Port cannot be URL encoded on set. The given port number is provided as a
99 If a path is set in the URL without a leading slash, a slash will be inserted
100 automatically when this URL is read from the handle.
102 The query part will also get spaces converted to pluses when asked to URL
108 The question mark in the URL is not part of the actual query contents.
110 The hash sign in the URL is not part of the actual fragment contents.
120 first '=' symbol will not be URL encoded.
124 When set, \fIcurl_url_set(3)\fP URL encodes the part on entry, except for
125 scheme, port and URL.
127 When setting the path component with URL encoding enabled, the slash character
130 The query part gets space-to-plus conversion before the URL conversion.
132 This URL encoding is charset unaware and will convert the input on a
135 If set, will make libcurl allow the URL to be set without a scheme and then
139 If set, will make libcurl allow the URL to be set without a scheme and it
155 If set, the URL parser allows space (ASCII 32) where possible. The URL
158 When space is used and allowed in a URL, it will be stored as-is unless
159 \fICURLU_URLENCODE\fP is also set, which then makes libcurl URL-encode the
160 space before stored. This affects how the URL will be constructed when
161 \fIcurl_url_get(3)\fP is subsequently used to extract the full URL or
164 If set, the URL parser will not accept embedded credentials for the
170 CURLU *url = curl_url();
171 rc = curl_url_set(url, CURLUPART_URL, "https://example.com", 0);
174 /* change it to an FTP URL */
175 rc = curl_url_set(url, CURLUPART_SCHEME, "ftp", 0);
177 curl_url_cleanup(url);
186 A URL string passed on to \fIcurl_url_set(3)\fP for the \fBCURLUPART_URL\fP
190 If this function returns an error, no URL part is set.