The append-in-place operator (~=).
The append operator for URLs adds a path element to this URL. It only adds new path elements (or sequences of path elements).
Don't worry about path separators; whether you include them or not, it will just work.
auto random = "http://testdata.org/random".parseURL; random ~= "int"; writeln(random); // prints "http://testdata.org/random/int"
See Implementation
The append-in-place operator (~=).
The append operator for URLs adds a path element to this URL. It only adds new path elements (or sequences of path elements).
Don't worry about path separators; whether you include them or not, it will just work.