Set content type for propfind request
Without the request is sent as application/x-www-form-urlencoded; charset=UTF-8 and might be blocked by some application firewalls because content and content type do not match. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
daf1d74af9
commit
bfc956fc88
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue