Lines Matching defs:depth
648 const char *depth = apr_table_get(r->headers_in, "Depth");
650 if (depth == NULL) {
654 if (strcasecmp(depth, "infinity") == 0) {
657 else if (strcmp(depth, "0") == 0) {
660 else if (strcmp(depth, "1") == 0) {
879 /* Note: depth == 0. Implies no need for a multistatus response. */
931 * Note: depth == 0 normally requires no multistatus response. However,
1182 int depth;
1199 /* 2518 says that depth must be infinity only for collections.
1200 * For non-collections, depth is ignored, unless it is an illegal value (1).
1202 depth = dav_get_depth(r, DAV_INFINITY);
1204 if (resource->collection && depth != DAV_INFINITY) {
1211 if (!resource->collection && depth == 1) {
1226 if ((err = dav_validate_request(r, resource, depth, NULL,
2019 int depth;
2037 if ((depth = dav_get_depth(r, DAV_INFINITY)) < 0) {
2043 if (depth == DAV_INFINITY && resource->collection) {
2130 err = (*resource->hooks->walk)(&ctx.w, depth, &multi_status);
2326 /* Note: depth == 0. Implies no need for a multistatus response. */
2536 * Note: depth == 0 normally requires no multistatus response. However,
2631 int depth;
2745 if ((depth = dav_get_depth(r, DAV_INFINITY)) < 0) {
2750 if (depth == 1) {
2756 if (is_move && is_dir && depth != DAV_INFINITY) {
2776 if ((err = dav_validate_request(r, resource, depth, NULL,
2796 * use depth==infinity since the target (hierarchy) will be deleted
2819 && depth == DAV_INFINITY
2949 err = (*resource->hooks->copy_resource)(resource, resnew, depth,
3001 err = dav_notify_created(r, lockdb, resnew, resnew_state, depth);
3031 int depth;
3047 depth = dav_get_depth(r, DAV_INFINITY);
3048 if (depth != 0 && depth != DAV_INFINITY) {
3103 if ((err = dav_validate_request(r, resource, depth, NULL, &multi_response,
3264 * Note: depth == 0 normally requires no multistatus response. However,
3406 /* Note: depth == 0. Implies no need for a multistatus response. */
3771 int depth;
3784 if ((depth = dav_get_depth(r, 0)) < 0) {
3822 /* a depth greater than zero is only allowed for a label */
3823 if (!is_label && depth != 0) {
3893 err = (*vsn_hooks->update)(resource, version, target, depth, &multi_response);
3978 int depth;
4000 if ((depth = dav_get_depth(r, 0)) < 0) {
4061 err = (*resource->hooks->walk)(&ctx.w, depth, &multi_status);
4072 /* One or more resources had errors. If depth was zero, convert
4076 if (depth == 0) {
4537 * use depth==infinity since the target (hierarchy) will be deleted