Lines Matching refs:URL
128 char *path; /* the path within the URL */
144 char *location; /* the new URL in case of redirect */
277 * @URL: The URL used to initialize the context
279 * (Re)Initialize an HTTP context by parsing the URL and finding
284 xmlNanoHTTPScanURL(xmlNanoHTTPCtxtPtr ctxt, const char *URL) {
307 if (URL == NULL) return;
309 uri = xmlParseURIRaw(URL, 1);
342 * @URL: The proxy URL used to initialize the proxy context
344 * (Re)Initialize the HTTP Proxy context by parsing the URL and finding
347 * A NULL URL cleans up proxy informations.
351 xmlNanoHTTPScanProxy(const char *URL) {
361 if (URL == NULL)
366 "Using HTTP proxy %s\n", URL);
368 if (URL == NULL) return;
370 uri = xmlParseURIRaw(URL, 1);
388 * @URL: The URL used to initialize the context
396 xmlNanoHTTPNewCtxt(const char *URL) {
411 xmlNanoHTTPScanURL(ret, URL);
1223 * @URL: The URL to load
1235 xmlNanoHTTPOpen(const char *URL, char **contentType) {
1237 return(xmlNanoHTTPMethod(URL, NULL, NULL, contentType, NULL, 0));
1242 * @URL: The URL to load
1245 * @redir: if available the redirected URL will be returned
1255 xmlNanoHTTPOpenRedir(const char *URL, char **contentType, char **redir) {
1258 return(xmlNanoHTTPMethodRedir(URL, NULL, NULL, contentType, redir, NULL,0));
1339 * @URL: The URL to load
1343 * @redir: the redirected URL OUT
1356 xmlNanoHTTPMethodRedir(const char *URL, const char *method, const char *input,
1369 if (URL == NULL) return(NULL);
1375 ctxt = xmlNanoHTTPNewCtxt(URL);
1596 * @URL: The URL to load
1612 xmlNanoHTTPMethod(const char *URL, const char *method, const char *input,
1614 return(xmlNanoHTTPMethodRedir(URL, method, input, contentType,
1620 * @URL: The URL to load
1632 xmlNanoHTTPFetch(const char *URL, const char *filename, char **contentType) {
1640 ctxt = xmlNanoHTTPOpen(URL, contentType);
1768 * Provides the specified redirection URL if available from the HTTP header.
1770 * Return the specified redirection URL or NULL if not redirected.
1881 "\tusage %s [ URL [ filename ] ]\n", argv[0]);