From 7c56e10f76540f86f11a7773d330da987e6c303d Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 4 Jan 2007 08:08:04 +1300 Subject: [PATCH] There are no situations where If-Match or If-None-Match is applied for a GET. --- inc/caldav-GET.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/inc/caldav-GET.php b/inc/caldav-GET.php index 2fd5a6ee..054db159 100644 --- a/inc/caldav-GET.php +++ b/inc/caldav-GET.php @@ -18,12 +18,6 @@ $qry = new PgQuery( "SELECT * FROM caldav_data WHERE user_no = ? AND dav_name = dbg_error_log("get", "%s", $qry->querystring ); if ( $qry->Exec("GET") && $qry->rows == 1 ) { $event = $qry->Fetch(); - - /** - * FIXME: There may be some circumstances where someone wants to send - * an If-Match or If-None-Match header. I'm not sure what that means here, - * so we will leave it unimplemented at this point. - */ $request->DoResponse( 200, ($request->method == "HEAD" ? "" : $event->caldav_data), "text/calendar" ); } else if ( $qry->rows < 1 ) {