diff --git a/news/77.bugfix b/news/77.bugfix new file mode 100644 index 0000000..7aa576c --- /dev/null +++ b/news/77.bugfix @@ -0,0 +1 @@ +fix waitress deprecation warning \ No newline at end of file diff --git a/src/plone/testing/zope.py b/src/plone/testing/zope.py index 01ac3bb..f59a53d 100644 --- a/src/plone/testing/zope.py +++ b/src/plone/testing/zope.py @@ -917,7 +917,7 @@ def setUpServer(self): """Create a WSGI server instance and save it in self.server. """ app = self.make_wsgi_app() - kwargs = {} + kwargs = {'clear_untrusted_proxy_headers': False} if self.host is not None: kwargs['host'] = self.host if self.port is not None: