From 9e774b295a1dcf9d0d9fe5c6b7f54c7777a37675 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 20 Sep 2012 23:54:47 +1200 Subject: [PATCH] When we get here it is a Bad Request, not a Server Error. --- htdocs/caldav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/caldav.php b/htdocs/caldav.php index 812b32d7..f6ddf918 100644 --- a/htdocs/caldav.php +++ b/htdocs/caldav.php @@ -147,5 +147,5 @@ switch ( $request->method ) { dbg_error_log( 'caldav', 'RAW: %s', str_replace("\n", '',str_replace("\r", '', $request->raw_post)) ); } -$request->DoResponse( 500, translate('The application program does not understand that request.') ); +$request->DoResponse( 400, translate('The application program does not understand that request.') );