diff --git a/src/allmydata/web/common.py b/src/allmydata/web/common.py index 4ad457931..dd6b65d56 100644 --- a/src/allmydata/web/common.py +++ b/src/allmydata/web/common.py @@ -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__)