Commit beee7ceb authored by Jérome Perrin's avatar Jérome Perrin

TimerService: make TimerResponse support redirect()

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'
parent 3454c143
Pipeline #20732 failed with stage
in 0 seconds