14 Oct
2021
14 Oct
'21
1:15 a.m.
On Wed, Oct 13, 2021 at 5:32 PM Andrey Semashev via Boost
https:://example.com?foo=42
should be different from
https:://example.com/?foo=42
Well... in your specific case not, because normalization of the https scheme inserts "/" when the path is zero length. Although this is scheme-specific. Generally speaking, there is always a path, it can be zero length. This is different from the query and fragment - which may or may not exist. A query can exist and be zero length, and the query can not exist. Thanks