aboutsummaryrefslogtreecommitdiff
path: root/aero-proto/src/dav/controller.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-04-23 15:43:48 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-04-23 15:43:48 +0200
commitadbccd88348f472751373a2e1d536e818be8fa67 (patch)
tree6e87f26cce79339854414e2de328e1dd20d1d2a9 /aero-proto/src/dav/controller.rs
parent50ce8621c2eaf91c46be0a2a9c2b82b19e66880b (diff)
downloadaerogramme-adbccd88348f472751373a2e1d536e818be8fa67.tar.gz
aerogramme-adbccd88348f472751373a2e1d536e818be8fa67.zip
Add support for content type
Diffstat (limited to 'aero-proto/src/dav/controller.rs')
-rw-r--r--aero-proto/src/dav/controller.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/aero-proto/src/dav/controller.rs b/aero-proto/src/dav/controller.rs
index de6403e..5762581 100644
--- a/aero-proto/src/dav/controller.rs
+++ b/aero-proto/src/dav/controller.rs
@@ -209,7 +209,7 @@ impl Controller {
let response = Response::builder()
.status(200)
- //.header("content-type", "application/xml; charset=\"utf-8\"")
+ .header("content-type", self.node.content_type())
.body(boxed_body)?;
Ok(response)