mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-23 17:26:02 +00:00
There are no situations where If-Match or If-None-Match is applied for a GET.
This commit is contained in:
parent
a972fc8439
commit
7c56e10f76
@ -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 ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user