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
|
@ -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