boostorg / url

Boost.URL is a library for manipulating Uniform Resource Identifiers (URIs) and Locators (URLs).
https://www.boost.org/doc/libs/master/libs/url/index.html
Boost Software License 1.0
185 stars 50 forks source link

set_params has no enconding_opts #856

Closed alandefreitas closed 2 months ago

alandefreitas commented 2 months ago

params lets you set the encoding_opts. For this component, the most important setting is space_as_plus and this depends on the application.

The reason params lets you set it and set_params doesn't is only historical. set_params was later implemented as a convenience function based on params. So, we ended up not including this overload. But we should have.