Expand description
The main part of links. This module contains code relating to actually redirecting requests.
Functionsยง
- https_
redirector - Redirects an incoming request to the same host and path, but with the
httpsscheme. - redirector
- Redirects the
request to the appropriate target URL (if one is found in thestore) or returns a404 Not Foundresponse. When redirecting, the status code is302 Foundwhen the method is GET, and307 Temporary Redirectotherwise. Additionally,stat_infocan be used to pass extraStatistics to be collected in addition to the ones inside of this function.