url
url copied to clipboard
Boost.URL is a library for manipulating Uniform Resource Identifiers (URIs) and Locators (URLs).
There is not ez-mode way to extract the HTTP Target from a `url` or `url_view`. I believe that this would be a common operation in real-world use. I think the...
The following code: ```` boost::urls::resolve(url, loc, url, ec); ``` Asserts, because the base and dest are the same object. When performing a client redirect, I would prefer to avoid writing...
Before reading the documentation, it seemed obvious to me that in the following code: ``` auto as_string(boost::urls::url_view uv) { return uv.string(); } ``` Would return a string. In fact it...
The library needs to be smart about default ports for the well-known schemes.
Move all error related aliases into `namespace error_type`, header "error_type.hpp", lift this into the `boost::urls` namespace. Move `result` here as well, get rid of "result.hpp". We have to think about...
The contents of the Help Card need to be checked against the `url` and `url_view` declarations to ensure that the members are accurate.
Discuss whether it should be `url_base::set_scheme` or `url_base::set_scheme_id`
This fails: ``` url u("/.//my:sharona"); u.normalize(); assert(u.string() == "/.//my:sharona"); ```
This fails: ``` url u("./my:sharona"); u.normalize(); assert(u.string() == "my%3Asharona"); ```
This fails: ``` url u( "my%3Asharona"); u.normalize(); assert( ! u.encoded_path().contains( ':' ) ); ```