Make falke8 happy and reference flask doc for the ReverseProxied class
@@ -371,6 +371,7 @@ class WebPlugin(BeetsPlugin):
cmd.func = func
return [cmd]
+
class ReverseProxied(object):
'''Wrap the application in this middleware and configure the
front-end server to add these headers, to let you quietly bind
@@ -386,6 +387,8 @@ class ReverseProxied(object):
proxy_set_header X-Script-Name /myprefix;
}
+ From: http://flask.pocoo.org/snippets/35/
+
:param app: the WSGI application
'''
def __init__(self, app):
