mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 18:12:27 +00:00
Implement If-Match, If-None-Match for DELETE method
This commit is contained in:
@@ -60,9 +60,6 @@ pub async fn put_event<C: CalendarStore>(
|
||||
return Ok(HttpResponse::Unauthorized().body(""));
|
||||
}
|
||||
|
||||
// TODO: implement If-Match
|
||||
//
|
||||
|
||||
let overwrite =
|
||||
Some(&HeaderValue::from_static("*")) != req.headers().get(header::IF_NONE_MATCH);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user