adjusted doc string

This commit is contained in:
tpltnt 2017-09-25 11:52:09 +02:00
parent 68b1271190
commit 6d4f4f4a65

View File

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