Lines Matching refs:scheme
634 http_auth_schemes_t scheme; member
647 b->scheme = HTTPAS_UNKNOWN; in init_http_auth_challenge()
784 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; in http_parse_authenticate()
786 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; in http_parse_authenticate()
788 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; in http_parse_authenticate()
1028 char *scheme; member
1037 s->scheme = s->realm = s->user = s->password = NULL; in init_http_auth_params()
1043 if (s->scheme) in clean_http_auth_params()
1044 free(s->scheme); in clean_http_auth_params()
1071 if ((parms->scheme = strdup(v)) == NULL) { in http_authfromenv()
1349 if (cs->challenges[i]->scheme == HTTPAS_DIGEST) in http_authorize()
1355 (parms->scheme && strcasecmp(parms->scheme, "digest") == 0)) { in http_authorize()
1365 (parms->scheme && strcasecmp(parms->scheme, "basic") == 0)) in http_authorize()
1411 if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 && purl) { in http_connect()
1439 if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 && in http_connect()
1472 if (!*purl->scheme) in http_get_proxy()
1473 strcpy(purl->scheme, SCHEME_HTTP); in http_get_proxy()
1475 purl->port = fetch_default_proxy_port(purl->scheme); in http_get_proxy()
1476 if (strcasecmp(purl->scheme, SCHEME_HTTP) == 0) in http_get_proxy()
1595 url->port = fetch_default_port(url->scheme); in http_request_body()
1598 if (purl == NULL && strcmp(url->scheme, SCHEME_FTP) == 0) { in http_request_body()
1611 if (url->port != fetch_default_port(url->scheme)) { in http_request_body()
1619 url->scheme, host, url->doc); in http_request_body()
1620 if (purl && strcasecmp(URL->scheme, SCHEME_HTTPS) != 0) { in http_request_body()
1622 op, url->scheme, host, url->doc); in http_request_body()
1712 url->scheme, host, url->doc); in http_request_body()
1861 new = fetchMakeURL(url->scheme, url->host, in http_request_body()