Enumeration Casevapor 4.106.1Vapor

    temporary

    Maintains original request method, ie: PUT will call PUT on redirect. 307 Temporary

    Redirect.swift:58

    This declaration has been renamed to Redirect.

    This declaration is deprecated.

    case temporary

    Other cases

    Show obsolete interfaces (2)

    Hide obsolete interfaces

    • case permanent

      A cacheable redirect. Not all user-agents preserve request method and body, so this should only be used for GET or HEAD requests 301 permanent

    • case normal

      Forces the redirect to come with a GET, regardless of req method. 303 see other