* modules/dav/main/mod_dav.c
(dav_method_get): Check for conditionals.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153754
13f79535-47bb-0310-9956-
ffa450edef68
{
dav_resource *resource;
dav_error *err;
+ int status;
/* This method should only be called when the resource is not
* visible to Apache. We will fetch the resource from the repository,
return dav_handle_err(r, err, NULL);
}
+ /* Handle conditional requests */
+ status = ap_meets_conditions(r);
+ if (status) {
+ return status;
+ }
+
if (r->header_only) {
return DONE;
}