Make "empty path element" handling more explicit.
amcgregor opened this issue · 0 comments
amcgregor commented
>>> a = URI("http://example.com/foo//bar/"); a
URI('http://example.com/foo/bar/')
>>> a / "" / "baz"
URI('http://example.com/foo/bar/baz')
>>> a / "//baz"
URI('http://example.com//baz')
Empty path segments must be allowed, and should be easier to work with / induce than including path element separators within a path segment.