diff --git a/src/server.rs b/src/server.rs index a28c4f3..55e6273 100644 --- a/src/server.rs +++ b/src/server.rs @@ -1717,10 +1717,8 @@ fn set_webdav_headers(res: &mut Response) { "Allow", HeaderValue::from_static("GET,HEAD,PUT,OPTIONS,DELETE,PATCH,PROPFIND,COPY,MOVE"), ); - res.headers_mut().insert( - "DAV", - HeaderValue::from_static("1, 2, 3, sabredav-partialupdate"), - ); + res.headers_mut() + .insert("DAV", HeaderValue::from_static("1, 2, 3")); } async fn get_content_type(path: &Path) -> Result { diff --git a/tests/http.rs b/tests/http.rs index c2b0566..96f790d 100644 --- a/tests/http.rs +++ b/tests/http.rs @@ -267,10 +267,7 @@ fn options_dir(server: TestServer) -> Result<(), Error> { resp.headers().get("allow").unwrap(), "GET,HEAD,PUT,OPTIONS,DELETE,PATCH,PROPFIND,COPY,MOVE" ); - assert_eq!( - resp.headers().get("dav").unwrap(), - "1, 2, 3, sabredav-partialupdate" - ); + assert_eq!(resp.headers().get("dav").unwrap(), "1, 2, 3"); Ok(()) }