normalize_scheme

Normalize the URL scheme

Synopsis

url_base& normalize_scheme();

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

Description

Applies Syntax-based normalization to the URL scheme.

The scheme is normalized to lowercase.

Exception Safety

Strong guarantee. Calls to allocate may throw.

Specification

  • 6.2.2 Syntax-Based Normalization (rfc3986)