Hi. I'm observing that the first segment in `URLBu...
# ktor
f
Hi. I'm observing that the first segment in
URLBuilder.pathSegments
is always an empty string. Is this a well-known behaviour? Is there a rationale for it?
a
Yes. The rationale is to be able to get the path by joining segments with
/
. The empty string represents a leading or a trailing slash.