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 -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -