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
1 changed files with 1 additions and 0 deletions

View File

@ -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
}); });