Serialises an origin as a browser sends it (RFC 6454 section 6.1), which is what a write stores and what CORS compares.
the origin as written
the serialised origin, or an empty string if it is not one
Serialises an origin as a browser sends it (RFC 6454 section 6.1), which is what a write stores and what CORS compares.