Redirection

You can return this from WebObject subclasses for redirections.

(though note the static types means that class must ALWAYS redirect if you return this directly. You might want to return MultipleResponses if it can be conditional)

version(with_breaking_cgi_features)
struct Redirection {
string to;
int code;
}

Meta