This commit is contained in:
Ben Sarmiento
2023-10-20 01:27:30 +02:00
parent 987542f89b
commit 1117e777ff
6 changed files with 12 additions and 59 deletions

View File

@@ -5,8 +5,7 @@ func Directory(path string) Response {
Href: customPathEscape(path),
Propstat: PropStat{
Prop: Prop{
ResourceType: ResourceType{Collection: &struct{}{}},
ContentType: "httpd/unix-directory",
ResourceType: ResourceType{Value: "<d:collection/>"},
},
Status: "HTTP/1.1 200 OK",
},