docs: function CreateManager(root, fakePath, options){
    options = options || {};
  
    // root required
    if (!root) throw new Error('static() root path required');
  
    // default redirect
    var redirect = false !== options.redirect;
  
    return function staticMiddleware(req, res, next) {
      if ('GET' != req.method && 'HEAD' != req.method) return next();
      var path = parseurl(req).pathname;
      //var pause = utils.pause(req);
  
      if(path.length > fakePath.length)
  		path = path.substring(fakePath.length);
  
      function resume() {
        next();
       // pause.resume();
      }
  
      function directory() {
        if (!redirect) return resume();
        var originalUrl = url.parse(req.originalUrl);
        var target;
        originalUrl.pathname += '/';
        target = url.format(originalUrl);
        res.statusCode = 303;
        res.setHeader('Location', target);
        res.end('Redirecting to ' + escapeHtml(target));
      }
  
      function error(err) {
        if (404 == err.status) return resume();
        next(err);
      }
  
      send(req, path)
        .maxage(options.maxAge || 0)
        .root(root)
        .index(options.index || 'index.html')
        .hidden(options.hidden)
        .on('error', error)
        .on('directory', directory)
        .pipe(res);
    };
  }