Lines Matching refs:URL
1381 http_connect(struct url *URL, struct url *purl, const char *flags) in http_connect() argument
1408 curl = (purl != NULL) ? purl : URL; in http_connect()
1415 if (strcmp(URL->scheme, SCHEME_HTTPS) == 0 && purl) { in http_connect()
1417 http_cmd(conn, "CONNECT %s:%d HTTP/1.1", URL->host, URL->port); in http_connect()
1418 http_cmd(conn, "Host: %s:%d", URL->host, URL->port); in http_connect()
1482 if (strcmp(URL->scheme, SCHEME_HTTPS) == 0 && in http_connect()
1483 fetch_ssl(conn, URL, verbose) == -1) { in http_connect()
1573 http_request(struct url *URL, const char *op, struct url_stat *us, in http_request() argument
1577 return (http_request_body(URL, op, us, purl, flags, NULL, NULL)); in http_request()
1587 http_request_body(struct url *URL, const char *op, struct url_stat *us, in http_request_body() argument
1624 url = URL; in http_request_body()
1998 if (url != URL) in http_request_body()
2041 if (URL->offset > 0 && offset > URL->offset) { in http_request_body()
2047 URL->offset = offset; in http_request_body()
2048 URL->length = clength; in http_request_body()
2056 if (url != URL) in http_request_body()
2072 if (url != URL) in http_request_body()
2093 fetchXGetHTTP(struct url *URL, struct url_stat *us, const char *flags) in fetchXGetHTTP() argument
2095 return (http_request(URL, "GET", us, http_get_proxy(URL, flags), flags)); in fetchXGetHTTP()
2102 fetchGetHTTP(struct url *URL, const char *flags) in fetchGetHTTP() argument
2104 return (fetchXGetHTTP(URL, NULL, flags)); in fetchGetHTTP()
2111 fetchPutHTTP(struct url *URL __unused, const char *flags __unused) in fetchPutHTTP()
2121 fetchStatHTTP(struct url *URL, struct url_stat *us, const char *flags) in fetchStatHTTP() argument
2125 f = http_request(URL, "HEAD", us, http_get_proxy(URL, flags), flags); in fetchStatHTTP()
2146 fetchReqHTTP(struct url *URL, const char *method, const char *flags, in fetchReqHTTP() argument
2150 return (http_request_body(URL, method, NULL, http_get_proxy(URL, flags), in fetchReqHTTP()