pub fn https_scheme(scheme: &[u8]) -> bool
PHP strtolower($scheme) === 'https' (ASCII lowercasing, as PHP 8 does).
strtolower($scheme) === 'https'