When we get here it is a Bad Request, not a Server Error.

This commit is contained in:
Andrew McMillan 2012-09-20 23:54:47 +12:00
parent 584a52cb70
commit 9e774b295a

View File

@ -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.') );