class

TCal::Handlers::Canonize

Inherits HTTP::Handler < Reference < Object

HTTP handler that redirects requests using a non-canonical Host.

Constructors

new(canonical_origin : String)

Creates a handler instance. The canonical_origin must be a URL with at least a valid host component. Components other than the scheme, host, and port are discarded.

Source