boost::urls::url::normalize_fragment

Normalize the URL fragment

Synopsis

Declared in <boost/url/url.hpp>
url&
normalize_fragment();

Description

Applies Syntax-based normalization to the URL fragment.

Percent-encoding triplets are normalized to uppercase letters. Percent-encoded octets that correspond to unreserved characters are decoded.

assert( url( "http://www.example.com#%61bc" ).normalize_fragment().buffer() == "http://www.example.com#abc" );

Exception Safety

Strong guarantee. Calls to allocate may throw.

Specification

Return Value

*this