mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
Add missing allow OPTIONS header
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@647 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
e254cc0cf9
commit
09790fc84e
@ -857,7 +857,7 @@ public class CaldavConnection extends AbstractConnection {
|
||||
*/
|
||||
public void sendOptions() throws IOException {
|
||||
HashMap<String, String> headers = new HashMap<String, String>();
|
||||
headers.put("Allow", "OPTIONS, GET, PROPFIND, PUT, POST");
|
||||
headers.put("Allow", "OPTIONS, PROPFIND, HEAD, GET, REPORT, PROPPATCH, PUT, DELETE, POST");
|
||||
sendHttpResponse(HttpStatus.SC_OK, headers);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user