boost::urls::url::normalize_authority :: Boost Libraries Documentation

# boost::urls::url::normalize_authority

Normalize the URL authority

## Synopsis

Declared in `<boost/url/url.hpp>`

    url&
    normalize_authority();

## 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

- https://datatracker.ietf.org/doc/html/rfc3986#section-6.2.2

## Return Value

`*this`

Created with MrDocs