Lines Matching refs:lookup
99 /* forward-declare for use in configuration lookup */
261 /* lookup and cache the actual provider now */
2628 dav_lookup_result lookup;
2674 lookup = dav_lookup_uri(dest, r, 1 /* must_be_absolute */);
2675 if (lookup.rnew == NULL) {
2676 if (lookup.err.status == HTTP_BAD_REQUEST) {
2679 "%s", lookup.err.desc);
2686 return dav_error_response(r, lookup.err.status, lookup.err.desc);
2688 if (lookup.rnew->status != HTTP_OK) {
2689 const char *auth = apr_table_get(lookup.rnew->err_headers_out,
2691 if (lookup.rnew->status == HTTP_UNAUTHORIZED && auth != NULL) {
2699 return dav_error_response(r, lookup.rnew->status,
2704 err = dav_get_resource(lookup.rnew, 0 /* label_allowed */,
2804 if ((err = dav_validate_request(lookup.rnew, resnew, DAV_INFINITY, NULL,
2884 resnew_state = dav_get_resource_state(lookup.rnew, resnew);
3017 return dav_created(r, lookup.rnew->unparsed_uri, "Destination",
3777 dav_lookup_result lookup;
3862 lookup = dav_lookup_uri(target, r, 0 /* must_be_absolute */);
3863 if (lookup.rnew == NULL) {
3864 if (lookup.err.status == HTTP_BAD_REQUEST) {
3867 "%s", lookup.err.desc);
3874 return dav_error_response(r, lookup.err.status, lookup.err.desc);
3876 if (lookup.rnew->status != HTTP_OK) {
3878 return dav_error_response(r, lookup.rnew->status,
3883 err = dav_get_resource(lookup.rnew, 0 /* label_allowed */,
4313 dav_lookup_result lookup;
4348 lookup = dav_lookup_uri(source, r, 0 /* must_be_absolute */);
4349 if (lookup.rnew == NULL) {
4350 if (lookup.err.status == HTTP_BAD_REQUEST) {
4353 "%s", lookup.err.desc);
4360 return dav_error_response(r, lookup.err.status, lookup.err.desc);
4362 if (lookup.rnew->status != HTTP_OK) {
4364 return dav_error_response(r, lookup.rnew->status,
4367 err = dav_get_resource(lookup.rnew, 0 /* label_allowed */,
4443 dav_lookup_result lookup;
4470 lookup = dav_lookup_uri(dest, r, 0 /* must_be_absolute */);
4471 if (lookup.rnew == NULL) {
4472 if (lookup.err.status == HTTP_BAD_REQUEST) {
4475 "%s", lookup.err.desc);
4478 else if (lookup.err.status == HTTP_BAD_GATEWAY) {
4492 return dav_error_response(r, lookup.err.status, lookup.err.desc);
4494 if (lookup.rnew->status != HTTP_OK) {
4496 return dav_error_response(r, lookup.rnew->status,
4501 err = dav_get_resource(lookup.rnew, 0 /* label_allowed */,
4545 if ((err = dav_validate_request(lookup.rnew, binding, DAV_INFINITY, NULL,
4623 return dav_created(r, lookup.rnew->unparsed_uri, "Binding", 0);