Origin request header indicates where a fetch originates from. It doesn't include any path information, but only the server name. It is sent with CORS requests, as well as with
POST requests. It is similar to the
Referer header, but, unlike this header, it doesn't disclose the whole path.
Origin: null Origin: <scheme> "://" <hostname> [ ":" <port> ]
|RFC 6454, section 7: Origin||The Web Origin Concept|
The definition of 'Origin header' in that specification.
|Supplants the |
© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.