@app.route("<STR_LIT>")<EOL>def absolute_redirect_n_times(n):
assert n > <NUM_LIT:0><EOL>if n == <NUM_LIT:1>:<EOL><INDENT>return redirect(url_for("<STR_LIT>", _external=True))<EOL><DEDENT>return _redirect("<STR_LIT>", n, True)<EOL>
Absolutely 302 Redirects n times.
    ---
    tags:
      - Redirects
    parameters:
      - in: path
        name: n
        type: int
    produces:
      - text/html
    responses:
      302:
        description: A redirection.