diff --git a/src/Microsoft.AspNetCore.Cors/Infrastructure/CorsConstants.cs b/src/Microsoft.AspNetCore.Cors/Infrastructure/CorsConstants.cs index 22110b2e41..fbc39a8228 100644 --- a/src/Microsoft.AspNetCore.Cors/Infrastructure/CorsConstants.cs +++ b/src/Microsoft.AspNetCore.Cors/Infrastructure/CorsConstants.cs @@ -65,31 +65,5 @@ namespace Microsoft.AspNetCore.Cors.Infrastructure /// The Access-Control-Max-Age response header. /// public static readonly string AccessControlMaxAge = HeaderNames.AccessControlMaxAge; - - - internal static readonly string[] SimpleRequestHeaders = - { - HeaderNames.Origin, - HeaderNames.Accept, - HeaderNames.AcceptLanguage, - HeaderNames.ContentLanguage, - }; - - internal static readonly string[] SimpleResponseHeaders = - { - HeaderNames.CacheControl, - HeaderNames.ContentLanguage, - HeaderNames.ContentType, - HeaderNames.Expires, - HeaderNames.LastModified, - HeaderNames.Pragma - }; - - internal static readonly string[] SimpleMethods = - { - HttpMethods.Get, - HttpMethods.Head, - HttpMethods.Post - }; } -} \ No newline at end of file +}