Merge pull request #19578 from nextcloud/fix/12685/overwrite-content-type
Set content type for propfind request
This commit is contained in:
commit
982df168c7
|
@ -40,6 +40,7 @@
|
||||||
'<d:propfind xmlns:d="DAV:">' +
|
'<d:propfind xmlns:d="DAV:">' +
|
||||||
'<d:prop><d:resourcetype/></d:prop>' +
|
'<d:prop><d:resourcetype/></d:prop>' +
|
||||||
'</d:propfind>',
|
'</d:propfind>',
|
||||||
|
contentType: 'application/xml; charset=utf-8',
|
||||||
complete: afterCall,
|
complete: afterCall,
|
||||||
allowAuthErrors: true
|
allowAuthErrors: true
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue