Skip to Main content

tuyen swa config set-response-override

Add or update an HTTP status code response override.

Usage

tuyen swa config set-response-override [OPTIONS] --code <CODE>

Options

-c, --code <CODE>

  • HTTP status code to create an override for.
  • Required: Yes.

--rewrite <REWRITE>

  • Internal rewrite path to serve for this status code.

--redirect <REDIRECT>

  • Redirect URL to send the client to for this status code.

--status-code <STATUS_CODE>

  • New HTTP status code to return in the overridden response.

-h, --help

  • Print help.