mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 11:16:24 +00:00
removed exact version info from header
This commit is contained in:
parent
48b442f8c1
commit
95acd57fdd
@ -394,9 +394,8 @@ class RenderMixin:
|
||||
:param ctx: client transaction from which request is extracted
|
||||
:returns: str (empty)
|
||||
"""
|
||||
from allmydata import __version__
|
||||
req = IRequest(ctx)
|
||||
req.setHeader("server", "Tahoe-LAFS gateway v" + __version__)
|
||||
req.setHeader("server", "Tahoe-LAFS gateway")
|
||||
methods = ', '.join([m[7:] for m in dir(self) if m.startswith('render_')])
|
||||
req.setHeader("allow", methods)
|
||||
req.setHeader("public", methods)
|
||||
|
Loading…
Reference in New Issue
Block a user