Skip to content
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

Allow disabling X-Frame-Options headers by passing None. #30

Merged
merged 3 commits into from Oct 5, 2018
Merged

Allow disabling X-Frame-Options headers by passing None. #30

merged 3 commits into from Oct 5, 2018

Conversation

jezdez
Copy link
Contributor

@jezdez jezdez commented Oct 5, 2018

Since the frame-ancestors directive in CSP 2 allows basically the same thing and setting the X-Frame-Options header with allow-from isn't supported by Chrome and Safari anyway, we might as well allow disabling it completely.

@coveralls
Copy link

coveralls commented Oct 5, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling a456964 on jezdez:disable-frame_options into 7c7e8ef on GoogleCloudPlatform:master.

@jezdez
Copy link
Contributor Author

jezdez commented Oct 5, 2018

@theacodes Please let me know if I should remove the commit with the unittest2 assert method changes 😀

@theacodes
Copy link
Contributor

LGTM, but can you resolve the conflicts?

Thank you for doing all this!

This helps improve the error output, e.g. by showing the collection that was checked by assertIn and assertNotIn.
@jezdez
Copy link
Contributor Author

jezdez commented Oct 5, 2018

@theacodes Done, and no problem! 👋

@theacodes theacodes merged commit f4c117f into GoogleCloudPlatform:master Oct 5, 2018
@jezdez jezdez deleted the disable-frame_options branch October 5, 2018 17:37
@jezdez
Copy link
Contributor Author

jezdez commented Oct 5, 2018

Thank you 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants