Hi
I'd just like to clarify what should happen in cases like
UriBuilder.fromUri("
http://foo/").build()
or
uriBuilder.path("/").build()
The reason I ask is that if a UriBuilder implementations depends internally on PathSegment(s) then the last '/' is lost given that a PathSegment.getPath() for "/" returns an empty value.
Is it correct to assume that irrespectively of UriBuilder implementation details a trailing '/', if any, must be preserved ?
I reckon it has to be preserved
Thanks, Sergey