mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-23 02:32:42 +00:00
set Referrer-Policy in one place
This commit is contained in:
parent
ce47f6aaee
commit
093945db22
@ -28,6 +28,7 @@ class MyRequest(appserver.NevowRequest):
|
|||||||
self.content.seek(0,0)
|
self.content.seek(0,0)
|
||||||
self.args = {}
|
self.args = {}
|
||||||
self.stack = []
|
self.stack = []
|
||||||
|
self.setHeader("Referrer-Policy", "no-referrer")
|
||||||
|
|
||||||
self.method, self.uri = command, path
|
self.method, self.uri = command, path
|
||||||
self.clientproto = version
|
self.clientproto = version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user