Commit 7040de85 authored by Vincent Pelletier's avatar Vincent Pelletier

product/ERP5/bin/zopewsgi.py: Silence Server and Via response headers.

In our use, waitress is embedded in Zope and not as a proxy, so it has no
legitimacy emitting Via headers.
While this process often is the origin server, Server response header is
optional and should be left to the lower layers to control, and not
auto-generated by waitress.
parent 44df1959
......@@ -187,4 +187,6 @@ def runwsgi():
logger=logging.getLogger("access"),
threads=conf.zserver_threads,
asyncore_use_poll=True,
# Prevent waitress from adding its own Via and Server response headers.
ident=None,
).run()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment