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:
mguessan 2009-08-06 07:29:55 +00:00
parent e254cc0cf9
commit 09790fc84e
1 changed files with 1 additions and 1 deletions

View File

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