Tests are fixed
This commit is contained in:
parent
d4edab9044
commit
b663345e9d
7 changed files with 140 additions and 89 deletions
|
|
@ -960,6 +960,8 @@ class WebDavXmlUtils:
|
|||
:return: XML object of response for the remote resource defined by path.
|
||||
"""
|
||||
try:
|
||||
if isinstance(content, str):
|
||||
content = content.encode('utf-8')
|
||||
tree = etree.fromstring(content)
|
||||
responses = tree.findall("{DAV:}response")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue