             response.writeHead relocated, message
             logger.debug redirect.red, from, to
             return try response.end undefined
-        assert unix = moment().unix().toString().bold
-        message = "Running redirect middleware at U=%s"
-        logger.debug message.toString(), unix.toString()
-        return next() unless request.headersSent

    assert _.isObject(kernel), "no kernel supplied"
    assert _.isObject(request?.headers), noHeaders
    assert _.isObject(response or null), terribles
    response.accepts = (mimes...) -> # response func
        handles = (pattern) -> try pattern.test accept
        patternize = (s) -> new RegExp RegExp.escape s
        accept = do -> request?.headers?.accept or ""

        strings = _.map strings, patternize.bind this
        assert merged = try _.merge(regexps, strings)
        return _.find(merged, handles) or undefined

# A middleware that adds a `redirect` method to the response object.
# This redirects to the supplied URL with the 302 status code and
