Skip to content

Detected a missing X-Content-Type-Options header which means that this website could be at risk of a MIME sniffing attacks. #173

@paullizer

Description

@paullizer

Update app.py with

@app.after_request def add_security_headers(response): response.headers['X-Content-Type-Options'] = 'nosniff' return response

Metadata

Metadata

Assignees

Labels

security_improvementThis issue results in an improvement to security

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions