mirror of
https://github.com/rclone/rclone.git
synced 2025-08-26 12:50:37 +02:00
webdav: support put.io #580
* Add docs on how to set up * Fix the listing routine * Use Depth: 1 in otherwise we get a recursive listing * Detect collections properly rather than relying on them ending in / * Add / to collection URLs which don't have one
This commit is contained in:
@@ -26,11 +26,11 @@ type Response struct {
|
||||
|
||||
// Prop is the properties of a response
|
||||
type Prop struct {
|
||||
Status string `xml:"DAV: status"`
|
||||
Name string `xml:"DAV: prop>displayname,omitempty"`
|
||||
Type xml.Name `xml:"DAV: prop>resourcetype>collection,omitempty"`
|
||||
Size int64 `xml:"DAV: prop>getcontentlength,omitempty"`
|
||||
Modified Time `xml:"DAV: prop>getlastmodified,omitempty"`
|
||||
Status string `xml:"DAV: status"`
|
||||
Name string `xml:"DAV: prop>displayname,omitempty"`
|
||||
Type *xml.Name `xml:"DAV: prop>resourcetype>collection,omitempty"`
|
||||
Size int64 `xml:"DAV: prop>getcontentlength,omitempty"`
|
||||
Modified Time `xml:"DAV: prop>getlastmodified,omitempty"`
|
||||
}
|
||||
|
||||
// Parse a status of the form "HTTP/1.1 200 OK",
|
||||
|
Reference in New Issue
Block a user