Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2021-10-14 01:15:14


On Wed, Oct 13, 2021 at 5:32 PM Andrey Semashev via Boost
<boost_at_[hidden]> wrote:
> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk