[#boost-urls-static_url-normalize_authority]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/static_url.adoc[static&lowbar;url]::normalize&lowbar;authority
:relfileprefix: ../../../
:mrdocs:

Normalize the URL authority

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/static_url.hpp#L435[boost&sol;url&sol;static&lowbar;url&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/static_url.adoc[static&lowbar;url]&
normalize&lowbar;authority();
----

== Description

Applies Syntax&hyphen;based normalization to the URL authority&period;

Percent&hyphen;encoding triplets are normalized to uppercase letters&period; Percent&hyphen;encoded octets that correspond to unreserved characters are decoded&period;

== Exception Safety

Strong guarantee&period; Calls to allocate may throw&period;

== Specification

* https://datatracker.ietf.org/doc/html/rfc3986#section-6.2.2[6&period;2&period;2 Syntax&hyphen;Based Normalization (rfc3986)]

== Return Value

`&ast;this`


[.small]#Created with https://www.mrdocs.com[MrDocs]#
