Skip to content

Commit

Permalink
Remove CONTENT_TYPE constant
Browse files Browse the repository at this point in the history
  • Loading branch information
cyu committed Mar 25, 2019
1 parent 7c97ded commit 963196c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/rack/cors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ class Cors
# retaining the old key for backwards compatibility
ENV_KEY = 'rack.cors'.freeze

OPTIONS = 'OPTIONS'.freeze
VARY = 'Vary'.freeze
CONTENT_TYPE = 'Content-Type'.freeze
OPTIONS = 'OPTIONS'.freeze
VARY = 'Vary'.freeze

DEFAULT_VARY_HEADERS = ['Origin'].freeze

Expand Down

0 comments on commit 963196c

Please sign in to comment.