Skip to main content

CORS_FIELDS

Constant CORS_FIELDS 

Source
pub const CORS_FIELDS: &'static [(&'static str, &'static str)];
Expand description

v0.131: the CORS policy fields, offered at a field-name position inside a cors { } block. Allow-Methods is deliberately absent (derived from the routes), so the closed set is these four.