Skip to main content

Module authority

Module authority 

Source
Expand description

Request authority and Host field extraction.

The request-target authority and the Host field are defined by RFC 9110, Section 7.2. This module returns an already parsed http::uri::Authority and does not perform DNS resolution, origin authorization, or proxy trust decisions.

Functionsยง

extract_header_authority
Extract a strict, singular, syntactically valid Host authority.
extract_request_authority
Extract the authority from a complete request.