Lines Matching refs:scheme
635 http_auth_schemes_t scheme; member
648 b->scheme = HTTPAS_UNKNOWN; in init_http_auth_challenge()
785 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; in http_parse_authenticate()
787 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; in http_parse_authenticate()
789 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; in http_parse_authenticate()
1029 char *scheme; member
1038 s->scheme = s->realm = s->user = s->password = NULL; in init_http_auth_params()
1044 if (s->scheme) in clean_http_auth_params()
1045 free(s->scheme); in clean_http_auth_params()
1072 if ((parms->scheme = strdup(v)) == NULL) { in http_authfromenv()
1350 if (cs->challenges[i]->scheme == HTTPAS_DIGEST) in http_authorize()
1356 (parms->scheme && strcasecmp(parms->scheme, "digest") == 0)) { in http_authorize()
1366 (parms->scheme && strcasecmp(parms->scheme, "basic") == 0)) in http_authorize()
1415 if (strcmp(URL->scheme, SCHEME_HTTPS) == 0 && purl) { in http_connect()
1482 if (strcmp(URL->scheme, SCHEME_HTTPS) == 0 && in http_connect()
1515 if (!*purl->scheme) in http_get_proxy()
1516 strcpy(purl->scheme, SCHEME_HTTP); in http_get_proxy()
1518 purl->port = fetch_default_proxy_port(purl->scheme); in http_get_proxy()
1519 if (strcmp(purl->scheme, SCHEME_HTTP) == 0) in http_get_proxy()
1641 url->port = fetch_default_port(url->scheme); in http_request_body()
1644 if (purl == NULL && strcmp(url->scheme, SCHEME_FTP) == 0) { in http_request_body()
1657 if (url->port != fetch_default_port(url->scheme)) { in http_request_body()
1665 url->scheme, host, url->doc); in http_request_body()
1666 if (purl && strcmp(url->scheme, SCHEME_HTTPS) != 0) { in http_request_body()
1668 op, url->scheme, host, url->doc); in http_request_body()
1758 url->scheme, host, url->doc); in http_request_body()
1907 new = fetchMakeURL(url->scheme, url->host, in http_request_body()