13 Oct
2021
13 Oct
'21
11:52 p.m.
On Wed, Oct 13, 2021 at 4:09 PM Gavin Lambert via Boost
...
Given the following path: /path/to/file.txt What should iterating the segments return? { "path", "to", "file.txt" } or { "/path", "/to", "/file.txt" } or something else? Given this path: my/download/folder/ What should iterating the segments return? { "my", "download", "folder", "" } or { "my/", "download/", "folder/" } or { "my", "/download", "/folder", "/" } or something else? Given an empty relative-ref (empty string) in a url u, what is the encoded path after executing this statement? u.segments().push_back( "index.htm" ); Anyone feel free to answer! Thanks