cherrypy.response.headers['Access-Control-Allow-Origin'
    ] = cherrypy.request.headers['ORIGIN']
cherrypy.response.headers['Access-Control-Allow-Methods'] = 'GET, PUT, DELETE'
Динамический URL с CherryPY MethodDispatcher