From 9c1b8fe0152394aa4cb39b8c30cf954bef6ca368 Mon Sep 17 00:00:00 2001 From: Greg Stein Date: Sun, 20 Jan 2002 03:17:12 +0000 Subject: [PATCH] If the provider returns an error, then we should propagate it (rather than override it with HTTP_INTERNAL_SERVER_ERROR). The specific case observed was a provider issuing a redirect. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92937 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/main/mod_dav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c index 2b522bb892..3b331355e8 100644 --- a/modules/dav/main/mod_dav.c +++ b/modules/dav/main/mod_dav.c @@ -680,7 +680,7 @@ static dav_error * dav_get_resource(request_rec *r, int label_allowed, label, use_checked_in, res_p); if (err != NULL) { - err = dav_push_error(r->pool, HTTP_INTERNAL_SERVER_ERROR, 0, + err = dav_push_error(r->pool, err->status, 0, "Could not fetch resource information.", err); return err; } -- 2.40.0