Przeglądaj źródła

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>
tags/v19.0.0beta1
Daniel Kesselberg 4 lat temu
rodzic
commit
bfc956fc88
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      core/js/setupchecks.js

+ 1
- 0
core/js/setupchecks.js Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz