def relativeTo(base, relativee):
    basepath = os.path.abspath(base)
    relativee = os.path.abspath(relativee)
    if relativee.startswith(basepath):
        relative = relativee[len(basepath):]
        if relative.startswith(os.sep):
            relative = relative[1:]
        return os.path.join(base, relative)
    raise ValueError("%s is not a subpath of %s" % (relativee, basepath))
Finalizes the response.  Applies common response processors.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/dist.py/relativeTo--crossover with--dataset/ETHPy150Open mitsuhiko/solace/solace/application.py/finalize_response