pull/977/head
gedoor 4 years ago
parent 2519749767
commit 32d1c079fb
  1. 6
      app/src/main/java/io/legado/app/lib/webdav/WebDav.kt

@ -21,8 +21,7 @@ class WebDav(urlStr: String) {
companion object {
// 指定返回哪些属性
private const val DIR =
"""
<?xml version="1.0"?>
"""<?xml version="1.0"?>
<a:propfind xmlns:a="DAV:">
<a:prop>
<a:displayname/>
@ -32,8 +31,7 @@ class WebDav(urlStr: String) {
<a:getlastmodified/>
%s
</a:prop>
</a:propfind>
"""
</a:propfind>"""
}
private val url: URL = URL(urlStr)

Loading…
Cancel
Save