mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 14:08:23 +00:00
carddav: fix file suffix and content type
This commit is contained in:
@@ -46,7 +46,7 @@ pub async fn get_object<AS: AddressbookStore + ?Sized>(
|
||||
|
||||
Ok(HttpResponse::Ok()
|
||||
.insert_header(("ETag", object.get_etag()))
|
||||
.insert_header(("Content-Type", "text/calendar"))
|
||||
.insert_header(("Content-Type", "text/vcard"))
|
||||
.body(object.get_vcf().to_owned()))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user