MCPcopy Create free account
hub / github.com/apache/httpd / dav_do_prop_subreq

Function dav_do_prop_subreq

modules/dav/main/props.c:326–336  ·  view source on GitHub ↗

do a sub-request to fetch properties for the target resource's URI. */

Source from the content-addressed store, hash-verified

324
325/* do a sub-request to fetch properties for the target resource's URI. */
326static void dav_do_prop_subreq(dav_propdb *propdb)
327{
328 /* need to escape the uri that's in the resource struct because during
329 * the property walker it's not encoded. */
330 const char *e_uri = ap_escape_uri(propdb->p,
331 propdb->resource->uri);
332
333 /* perform a "GET" on the resource's URI (note that the resource
334 may not correspond to the current request!). */
335 propdb->subreq = ap_sub_req_lookup_uri(e_uri, propdb->r, NULL);
336}
337
338static dav_error * dav_insert_coreprop(dav_propdb *propdb,
339 int propid, const char *name,

Callers 1

dav_insert_corepropFunction · 0.85

Calls 1

ap_sub_req_lookup_uriFunction · 0.85

Tested by

no test coverage detected