function getPathname(req) {
  try {
    return parseUrl$1(req).pathname;
  } catch (err) {
    return undefined;
  }
}
Determine address of proxied request.

@param {Object} request
@param {Function|Array|String} trust
@public