v8.6.0
8.6.0 (2024-08-19)
Features
-
middleware/nethttp: add
SubdomainOptions
and exported errors (856dff3)The
SubdomainOptions
struct is used to configure the subdomain middleware. It allows developers to specify the disallowed subdomains and subdomain prefixes. The exported errors are used to handle invalid subdomains and hosts, including:ErrInvalidHost
ErrInvalidSubdomain