mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-16 15:08:58 +00:00
Reference X-Frame-Options documentation
This commit is contained in:
parent
718fa4493c
commit
36c7756890
@ -46,6 +46,7 @@ class MyRequest(appserver.NevowRequest):
|
||||
self.host = self.channel.transport.getHost()
|
||||
|
||||
# Adding security headers. These will be sent for *all* HTTP requests.
|
||||
# See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
|
||||
self.responseHeaders.setRawHeaders("X-Frame-Options", ["DENY"])
|
||||
|
||||
# Argument processing.
|
||||
@ -221,4 +222,3 @@ class IntroducerWebishServer(WebishServer):
|
||||
service.MultiService.__init__(self)
|
||||
self.root = introweb.IntroducerRoot(introducer)
|
||||
self.buildServer(webport, nodeurl_path, staticdir)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user