Skip to content

Commit 963196c

Browse files
committed
Remove CONTENT_TYPE constant
1 parent 7c97ded commit 963196c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/rack/cors.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ class Cors
1616
# retaining the old key for backwards compatibility
1717
ENV_KEY = 'rack.cors'.freeze
1818

19-
OPTIONS = 'OPTIONS'.freeze
20-
VARY = 'Vary'.freeze
21-
CONTENT_TYPE = 'Content-Type'.freeze
19+
OPTIONS = 'OPTIONS'.freeze
20+
VARY = 'Vary'.freeze
2221

2322
DEFAULT_VARY_HEADERS = ['Origin'].freeze
2423

0 commit comments

Comments
 (0)