normalize_authority

Normalize the URL authority

Synopsis

url_base& normalize_authority();

Declared in file <src/url_base.cpp> at line 1719

Description

Applies Syntax-based normalization to the URL authority.

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

Exception Safety

Strong guarantee. Calls to allocate may throw.

Specification

  • 6.2.2 Syntax-Based Normalization (rfc3986)