Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

svn commit: r834073 - /httpd/httpd/trunk/modules/dav/fs/repos.c

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


sf at apache

Nov 9, 2009, 6:10 AM

Post #1 of 1 (161 views)
Permalink
svn commit: r834073 - /httpd/httpd/trunk/modules/dav/fs/repos.c

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 */

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.