[cvs] commit: framework/RPC/RPC webdav.php
Ben Klang
ben at alkaloid.net
Fri May 9 01:51:52 UTC 2008
bklang 2008-05-08 21:51:52 EDT
Modified files:
RPC/RPC webdav.php
Log:
This commit is a follow-up to my previous commit. It occurred to me that the PEAR_Error objects may pick up an error code from another place (such as a PEAR DB error). However I can not think of a cleaner way than using the PEAR_Error code field for API calls to indicate HTTP error codes. This is important because there are many times where something other than 500 will be more useful to the WebDAV client, such as a 403 or 405.
However I also realize this is not the cleanest of implementations so if there is a consensus that this is the Wrong Way I'll be happy to back out the changes.
Revision Changes Path
1.36 +54 -8 framework/RPC/RPC/webdav.php
Chora Links:
http://cvs.horde.org/diff.php/framework/RPC/RPC/webdav.php?r1=1.35&r2=1.36&ty=u
More information about the cvs
mailing list