enhance HttpConnect.redirect