mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
adjusted doc string
This commit is contained in:
parent
68b1271190
commit
6d4f4f4a65
@ -388,7 +388,11 @@ class RenderMixin:
|
|||||||
return m(ctx)
|
return m(ctx)
|
||||||
|
|
||||||
def render_OPTIONS(self, 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__
|
from allmydata import __version__
|
||||||
req = IRequest(ctx)
|
req = IRequest(ctx)
|
||||||
req.setHeader("server", "Tahoe-LAFS gateway v" + __version__)
|
req.setHeader("server", "Tahoe-LAFS gateway v" + __version__)
|
||||||
|
Loading…
Reference in New Issue
Block a user