Expand description
Origin validation utilities for CORS and similar security checks.
Provides is_local_origin to determine whether a URL origin
(e.g. from the Origin HTTP header) is a trusted local address.
Functionsยง
- is_
local_ origin - Returns
trueif the origin string resolves to a local host.