Lines Matching defs:scheme
191 const char *scheme;
205 if (comp.scheme == NULL && must_be_absolute) {
220 /* If the scheme or port was provided, then make sure that it matches
221 the scheme/port of this request. If the request must be absolute,
222 then require the (explicit/implicit) scheme/port be matching.
228 if (comp.scheme != NULL || comp.port != 0 || must_be_absolute)
231 scheme = r->parsed_uri.scheme;
232 if (scheme == NULL)
233 scheme = ap_http_scheme(r);
237 comp.port = apr_uri_port_of_scheme(comp.scheme);
239 /* now, verify that the URI uses the same scheme as the current.
243 if (strcasecmp(comp.scheme, scheme) != 0
251 "different scheme or port "
254 comp.scheme ? comp.scheme : scheme,
256 scheme, port);
261 /* we have verified the scheme, port, and general structure */