do a sub-request to fetch properties for the target resource's URI. */
| 324 | |
| 325 | /* do a sub-request to fetch properties for the target resource's URI. */ |
| 326 | static 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 | |
| 338 | static dav_error * dav_insert_coreprop(dav_propdb *propdb, |
| 339 | int propid, const char *name, |
no test coverage detected