possible mount fixes
This commit is contained in:
@@ -6,6 +6,7 @@ func Directory(path string) Response {
|
|||||||
Propstat: PropStat{
|
Propstat: PropStat{
|
||||||
Prop: Prop{
|
Prop: Prop{
|
||||||
ResourceType: ResourceType{Collection: &struct{}{}},
|
ResourceType: ResourceType{Collection: &struct{}{}},
|
||||||
|
ContentType: "httpd/unix-directory",
|
||||||
},
|
},
|
||||||
Status: "HTTP/1.1 200 OK",
|
Status: "HTTP/1.1 200 OK",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ type Prop struct {
|
|||||||
ContentLength int64 `xml:"d:getcontentlength"`
|
ContentLength int64 `xml:"d:getcontentlength"`
|
||||||
CreationDate string `xml:"d:creationdate"`
|
CreationDate string `xml:"d:creationdate"`
|
||||||
LastModified string `xml:"d:getlastmodified"`
|
LastModified string `xml:"d:getlastmodified"`
|
||||||
IsHidden int `xml:"d:ishidden"`
|
ContentType string `xml:"d:getcontenttype"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceType struct {
|
type ResourceType struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user