Skip to content

Commit

Permalink
Use the current list of recommended headers
Browse files Browse the repository at this point in the history
  • Loading branch information
madejejej committed Jan 15, 2020
1 parent 265508a commit dbd5e94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/castle/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Configuration
DEFAULT_WHITELIST = %w[
Accept
Accept-Charset
Accept-Datetime
Accept-Encoding
Accept-Language
Cache-Control
Expand All @@ -25,6 +26,8 @@ class Configuration
Origin
Pragma
Referer
TE
Upgrade-Insecure-Requests
X-Castle-Client-Id
].freeze

Expand Down

0 comments on commit dbd5e94

Please sign in to comment.