Flask - Security Best Practices
You wrote this code to add a security header but it does not appear in responses:
What is the issue?
@app.after_request
def add_header(response):
response.headers.add('X-Content-Type-Options', 'nosniff')
return responseWhat is the issue?
