• Jérome Perrin's avatar
    TimerService: make TimerResponse support redirect() · beee7ceb
    Jérome Perrin authored
    This allows executing a script doing REQUEST.RESPONSE.redirect() without
    error.
    
    Before this patch it's an AttributeError similar to:
    
        ------
        2022-04-12 03:52:49,083 WARNING ActivityTool Could not call method ...
        Traceback (most recent call last):
          ...
          File "Script (Python)", line 34, in Base_redirect
            return request.RESPONSE.redirect(redirect_url, status=status_code)
        AttributeError: TimerResponse instance has no attribute 'redirect'
    beee7ceb
TimerServer.py 6.23 KB