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

Adds the option to disable the x-content-type-options header #4

Merged

Conversation

Jonakemon
Copy link
Collaborator

Originally from GoogleCloudPlatform#75.

@Jonakemon Jonakemon merged commit 131dcd4 into main Jun 9, 2021
@Jonakemon Jonakemon deleted the 75-adds-option-to-disable-x-content-type-options-header branch June 9, 2021 16:29
@@ -116,6 +116,8 @@ Options
`X-Download-Options <https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/compatibility/jj542450(v=vs.85)?redirectedfrom=MSDN>`_
header to ``noopen`` to prevent IE >= 8 to from opening file downloads
directly and only save them instead.
- ``x_content_type_options``, default ``True``, Protects against MIME sniffing vulnerabilities.
- ``x_xss_protection``, default ``True``, Protects against cross-site scripting (XSS) attacks.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you send a follow-up PR to add links to the relevant MDN articles about these options?

@Jonakemon Jonakemon mentioned this pull request Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants