Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #541 from mozilla/MP1556-deprecation-headers
Browse files Browse the repository at this point in the history
fix(cors): add deprecation override to allowed headers
  • Loading branch information
argl authored Oct 9, 2024
2 parents cf06c78 + 924e704 commit 93885c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions httpobs/website/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def wrapper(*args, **kwargs):
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': ', '.join(request.url_rule.methods),
'Access-Control-Max-Age': '86400',
'Access-Control-Allow-Headers': 'X-Deprecation-Override',
}
)

Expand Down

0 comments on commit 93885c5

Please sign in to comment.