Merge pull request #19578 from nextcloud/fix/12685/overwrite-content-type

Set content type for propfind request
This commit is contained in:
John Molakvoæ 2020-02-24 11:25:10 +01:00 committed by GitHub
commit 982df168c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@
'<d:propfind xmlns:d="DAV:">' +
'<d:prop><d:resourcetype/></d:prop>' +
'</d:propfind>',
contentType: 'application/xml; charset=utf-8',
complete: afterCall,
allowAuthErrors: true
});