These are chat archives for cherrypy/cherrypy

5th
Jun 2018
Sviatoslav Sydorenko
@webknjaz
Jun 05 2018 13:22
I think, a workaround could be:
import cherrypy

def filtered_auth(exclude_methods=(), *args, **kwargs):
    if cherrypy.request.method not in exclude_methods:
        return cherrypy.tools.auth_basic(*args, **kwargs)

cherrypy.tools.filtered_auth = filtered_auth