Open icemac opened 7 years ago
zope.app.wsgi.testlayer.AuthorizationMiddleware is the same code as zope.testbrowser.wsgi.AuthorizationMiddleware.
Maybe it could be imported from there.
It seems to have been deliberately duplicated in 262d9b9a691eb11f8340b06baa2a7cfc5805f17a. Perhaps @strichter can explain in more detail?
zope.app.wsgi.testlayer.AuthorizationMiddleware is the same code as zope.testbrowser.wsgi.AuthorizationMiddleware.
Maybe it could be imported from there.