def BaseJoin(base, uriRef):
    if IsAbsolute(base):
        return Absolutize(uriRef, base)
    else:
        dummyscheme = 'basejoin'
        res = Absolutize(uriRef, '%s:%s' % (dummyscheme, base))
        if IsAbsolute(uriRef):
            # scheme will be inherited from uriRef
            return res
        else:
            # no scheme in, no scheme out
            return res[len(dummyscheme)+1:]
Yield unfolded lines from a chunk of text.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/xml/Uri.py/BaseJoin--crossover with--dataset/ETHPy150Open kdart/pycopia/core/pycopia/inet/ABNF.py/headerlines