mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
DAV header, remove compliance class 2 (locking support)
This commit is contained in:
@@ -39,8 +39,9 @@ pub fn configure_dav<AP: AuthenticationProvider, C: CalendarStore + ?Sized>(
|
|||||||
let response = HttpResponse::Ok()
|
let response = HttpResponse::Ok()
|
||||||
.insert_header((
|
.insert_header((
|
||||||
HeaderName::from_static("dav"),
|
HeaderName::from_static("dav"),
|
||||||
|
// https://datatracker.ietf.org/doc/html/rfc4918#section-18
|
||||||
HeaderValue::from_static(
|
HeaderValue::from_static(
|
||||||
"1, 2, 3, access-control, calendar-access, extended-mkcol, calendar-no-timezone",
|
"1, 3, access-control, calendar-access, extended-mkcol, calendar-no-timezone",
|
||||||
),
|
),
|
||||||
))
|
))
|
||||||
.finish();
|
.finish();
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ pub fn configure_dav<AP: AuthenticationProvider, A: AddressbookStore + ?Sized>(
|
|||||||
let response = HttpResponse::Ok()
|
let response = HttpResponse::Ok()
|
||||||
.insert_header((
|
.insert_header((
|
||||||
HeaderName::from_static("dav"),
|
HeaderName::from_static("dav"),
|
||||||
|
// https://datatracker.ietf.org/doc/html/rfc4918#section-18
|
||||||
HeaderValue::from_static(
|
HeaderValue::from_static(
|
||||||
"1, 2, 3, access-control, addressbook, extended-mkcol",
|
"1, 3, access-control, addressbook, extended-mkcol",
|
||||||
),
|
),
|
||||||
))
|
))
|
||||||
.finish();
|
.finish();
|
||||||
|
|||||||
Reference in New Issue
Block a user