added docstring

This commit is contained in:
tpltnt 2017-06-04 23:16:37 +02:00
parent 005bcf5012
commit 68b1271190

View File

@ -388,6 +388,7 @@ class RenderMixin:
return m(ctx)
def render_OPTIONS(self, ctx):
"""Handle HTTP OPTIONS request"""
from allmydata import __version__
req = IRequest(ctx)
req.setHeader("server", "Tahoe-LAFS gateway v" + __version__)