-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix websockets with webkit #153
Conversation
bac074c
to
08c8b3c
Compare
Codecov Report
@@ Coverage Diff @@
## master #153 +/- ##
=======================================
Coverage 50.75% 50.75%
=======================================
Files 6 6
Lines 396 396
Branches 64 64
=======================================
Hits 201 201
Misses 192 192
Partials 3 3
Continue to review full report at Codecov.
|
@@ -34,7 +34,8 @@ def set_default_headers(self) -> None: | |||
self.set_header("Access-Control-Allow-Origin", "*") | |||
self.set_header("Access-Control-Allow-Headers", "x-requested-with") | |||
self.set_header('Access-Control-Allow-Methods', 'POST, GET, OPTIONS') | |||
self.set_header('Server', '') | |||
# prevent server fingerprinting | |||
self.clear_header('Server') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#TodayILearned! 🎉
Thanks @oliver-sanders ! (and sorry for creating the issue 😬 ) |
Closes #152
Since Google forked WebKit this primarily affects Safari.
Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.