onBeforeRedirect

The listener will be called with listener(details) when a server initiated redirect is about to occur.