Skip to content

Commit

Permalink
Add HEAD to DefaultMethods
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jul 23, 2019
1 parent 909c9b7 commit 39e10a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceStack/CorsFeature.cs
Expand Up @@ -12,7 +12,7 @@ namespace ServiceStack
public class CorsFeature : IPlugin
{
public const string DefaultOrigin = "*";
public const string DefaultMethods = "GET, POST, PUT, DELETE, PATCH, OPTIONS";
public const string DefaultMethods = "GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD";
public const string DefaultHeaders = "Content-Type";

private readonly string allowedOrigins;
Expand Down

0 comments on commit 39e10a1

Please sign in to comment.