Lines Matching refs:URL
1377 http_connect(struct url *URL, struct url *purl, const char *flags) in http_connect() argument
1404 curl = (purl != NULL) ? purl : URL; in http_connect()
1411 if (strcmp(URL->scheme, SCHEME_HTTPS) == 0 && purl) { in http_connect()
1413 http_cmd(conn, "CONNECT %s:%d HTTP/1.1", URL->host, URL->port); in http_connect()
1414 http_cmd(conn, "Host: %s:%d", URL->host, URL->port); in http_connect()
1478 if (strcmp(URL->scheme, SCHEME_HTTPS) == 0 && in http_connect()
1479 fetch_ssl(conn, URL, verbose) == -1) { in http_connect()
1569 http_request(struct url *URL, const char *op, struct url_stat *us, in http_request() argument
1573 return (http_request_body(URL, op, us, purl, flags, NULL, NULL)); in http_request()
1583 http_request_body(struct url *URL, const char *op, struct url_stat *us, in http_request_body() argument
1620 url = URL; in http_request_body()
1994 if (url != URL) in http_request_body()
2037 if (URL->offset > 0 && offset > URL->offset) { in http_request_body()
2043 URL->offset = offset; in http_request_body()
2044 URL->length = clength; in http_request_body()
2052 if (url != URL) in http_request_body()
2068 if (url != URL) in http_request_body()
2089 fetchXGetHTTP(struct url *URL, struct url_stat *us, const char *flags) in fetchXGetHTTP() argument
2091 return (http_request(URL, "GET", us, http_get_proxy(URL, flags), flags)); in fetchXGetHTTP()
2098 fetchGetHTTP(struct url *URL, const char *flags) in fetchGetHTTP() argument
2100 return (fetchXGetHTTP(URL, NULL, flags)); in fetchGetHTTP()
2107 fetchPutHTTP(struct url *URL __unused, const char *flags __unused) in fetchPutHTTP()
2117 fetchStatHTTP(struct url *URL, struct url_stat *us, const char *flags) in fetchStatHTTP() argument
2121 f = http_request(URL, "HEAD", us, http_get_proxy(URL, flags), flags); in fetchStatHTTP()
2142 fetchReqHTTP(struct url *URL, const char *method, const char *flags, in fetchReqHTTP() argument
2146 return (http_request_body(URL, method, NULL, http_get_proxy(URL, flags), in fetchReqHTTP()