responseCode property

String? responseCode
getter/setter pair

The HTTP Status code to use for the redirect. Possible string values are:

  • "RESPONSE_CODE_UNSPECIFIED" : Default value
  • "MOVED_PERMANENTLY_DEFAULT" : Corresponds to 301.
  • "FOUND" : Corresponds to 302.
  • "SEE_OTHER" : Corresponds to 303.
  • "TEMPORARY_REDIRECT" : Corresponds to 307. In this case, the request method will be retained.
  • "PERMANENT_REDIRECT" : Corresponds to 308. In this case, the request method will be retained.

Implementation

core.String? responseCode;