mirror of
https://github.com/etesync/android
synced 2024-11-22 07:58:09 +00:00
disable strict parsing of XML response for PROPFIND and multiget
This commit is contained in:
parent
7ab740d443
commit
b9a13bf7de
@ -70,7 +70,7 @@ public class WebDavCollection extends WebDavResource {
|
||||
Serializer serializer = new Persister();
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
InputStream is = new TeeInputStream(response.getEntity().getContent(), baos);
|
||||
multistatus = serializer.read(DavMultistatus.class, is);
|
||||
multistatus = serializer.read(DavMultistatus.class, is, false);
|
||||
|
||||
Log.d(TAG, "Received multistatus response: " + baos.toString("UTF-8"));
|
||||
} catch (Exception e) {
|
||||
@ -117,7 +117,7 @@ public class WebDavCollection extends WebDavResource {
|
||||
try {
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
InputStream is = new TeeInputStream(response.getEntity().getContent(), baos);
|
||||
multistatus = serializer.read(DavMultistatus.class, is);
|
||||
multistatus = serializer.read(DavMultistatus.class, is, false);
|
||||
|
||||
Log.d(TAG, "Received multistatus response: " + baos.toString("UTF-8"));
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user