diff --git a/inc/caldav-PUT.php b/inc/caldav-PUT.php index 3b4c5fa1..abe29d76 100644 --- a/inc/caldav-PUT.php +++ b/inc/caldav-PUT.php @@ -193,5 +193,5 @@ $qry->Exec("PUT"); dbg_error_log( "PUT", "User: %d, ETag: %s, Path: %s", $session->user_no, $etag, $request->path); header(sprintf('ETag: "%s"', (isset($bogus_etag) ? $bogus_etag : $etag) ) ); -$request->DoResponse( ($put_action_type == 'INSERT' ? 201 : 200) ); +$request->DoResponse( ($put_action_type == 'INSERT' ? 201 : 204) ); ?> \ No newline at end of file