python 2.7 - How do I add anti-clickjacking support to an app I'm building in webapp2 for google app engine? -


i know there's wsgi middleware django, can't find webapp2. django middleware work?

to same behavior django provides webapp2, need add following header response:

self.response.headers["x-frame-options"] = "sameorigin"

https://developer.mozilla.org/en-us/docs/http/x-frame-options


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -