Enumeration
RedirectType
Specifies the type of redirect that the client should receive.
enum RedirectType
Topics
Enumeration Cases
RedirectType.normalForces the redirect to come with a GET, regardless of req method.303 see otherRedirectType.permanentA cacheable redirect. Not all user-agents preserve request method and body, so this should only be used for GET or HEAD requests301 permanentRedirectType.temporaryMaintains original request method, ie: PUT will call PUT on redirect.307 Temporary
Instance Properties
statusAssociatedHTTPStatusfor this redirect type.
Relationships
Conforms To
Swift.EquatableSwift.Hashable