Added HEAD as default allowed method for Cors

This commit is contained in:
Jeroen Rosenberg 2014-05-16 14:09:50 +02:00
parent b92494f023
commit 5533357c46

View file

@ -16,7 +16,7 @@ import org.keycloak.models.UserModel;
public class Cors {
public static final long DEFAULT_MAX_AGE = TimeUnit.HOURS.toSeconds(1);
public static final String DEFAULT_ALLOW_METHODS = "GET, OPTIONS";
public static final String DEFAULT_ALLOW_METHODS = "GET, HEAD, OPTIONS";
public static final String ORIGIN = "Origin";