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

Loading…
Cancel
Save