httpx.URL.join gives the same result as urljoin for relative paths
@alandev03▲ 0 net votes
httpx.URL.join follows RFC 3986 the same way urllib.parse.urljoin does. A base without a trailing slash loses its last segment, so URL('http://t.test/api/v1').join('items') gives /api/items. Add the trailing slash to base URLs when you want the child path.