httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r834073 - /httpd/httpd/trunk/modules/dav/fs/repos.c
Date Mon, 09 Nov 2009 14:10:35 GMT
Author: sf
Date: Mon Nov  9 14:10:31 2009
New Revision: 834073

URL: http://svn.apache.org/viewvc?rev=834073&view=rev
Log:
Fix litmus warning: According to RFC2518, COPY to non-existant collection
should give 409 CONFLICT.

Modified:
    httpd/httpd/trunk/modules/dav/fs/repos.c

Modified: httpd/httpd/trunk/modules/dav/fs/repos.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/fs/repos.c?rev=834073&r1=834072&r2=834073&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/fs/repos.c (original)
+++ httpd/httpd/trunk/modules/dav/fs/repos.c Mon Nov  9 14:10:31 2009
@@ -204,6 +204,7 @@
 /* returns an appropriate HTTP status code given an APR status code for a
  * failed I/O operation.  ### use something besides 500? */
 #define MAP_IO2HTTP(e) (APR_STATUS_IS_ENOSPC(e) ? HTTP_INSUFFICIENT_STORAGE : \
+                        APR_STATUS_IS_ENOENT(e) ? HTTP_CONFLICT : \
                         HTTP_INTERNAL_SERVER_ERROR)
 
 /* forward declaration for internal treewalkers */



Mime
View raw message