Skip to main content

Constant tauri::http::header::ORIGIN

x3A;:header::ORIGIN,

pub const ORIGIN: HeaderName;

Expand description

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.