code: def redir_response(location, status='302 Redirect', headers=None):
          
          redir_headers = [('Location', location), ('Content-Length', '0')]
          if headers:
              redir_headers += headers
  
          return WbResponse(StatusAndHeaders(status, redir_headers))
docs: Utility method for constructing redirection response.
  
          :param str location: The location of the resource redirecting to
          :param str status: The HTTP status line
          :param list[tuple[str, str]] headers: Additional headers for this response
          :return: WbResponse redirection response
          :rtype: WbResponse