pub fn validate_origin(value: &str) -> Result<()>
Checks that value is a serialized HTTPS origin (Agent Identity Section 4.4): WHATWG URL parsing and origin serialization must reproduce it exactly.
value