]> granicus.if.org Git - apache/commit
Don't change the type of the new resource. The provider will update it
authorGreg Stein <gstein@apache.org>
Fri, 2 Nov 2001 19:25:50 +0000 (19:25 +0000)
committerGreg Stein <gstein@apache.org>
Fri, 2 Nov 2001 19:25:50 +0000 (19:25 +0000)
commit6c14efd9c8445544473d02ee91861d64850ea267
tree0547657ef8d5613937f007f69ad1691cb3d24e0e
parenta208bee0ca3cb6919f56069afa2baf229f46ac55
Don't change the type of the new resource. The provider will update it
when the copy/move takes place.

Specifically, the new location might imply a different type from the
original, so updating the type is bad mojo. In the observed case, a
resource was copied into a working collection; the type of the new
resource is supposed to be WORKING. Copying the type would be wrong if
the source was REGULAR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91732 13f79535-47bb-0310-9956-ffa450edef68
modules/dav/main/mod_dav.c