Redirect, if not empty, is the target URL to redirect requests to. By default, we redirect with HTTP 302 (Found) status. If Redirect starts with ' :', then we use that status instead. The target URL supports the following expansion variables: - ${HOST}: replaced with the request's Host hea
()
| 924 | // - ${HOST}: replaced with the request's Host header value |
| 925 | // - ${REQUEST_URI}: replaced with the request's full URI (path and query string) |
| 926 | func (v HTTPHandlerView) Redirect() string { return v.ж.Redirect } |
| 927 | |
| 928 | // A compilation failure here means this code must be regenerated, with the command at the top of this file. |
| 929 | var _HTTPHandlerViewNeedsRegeneration = HTTPHandler(struct { |
no outgoing calls
no test coverage detected