Skip to main content

CSRF_FIELD

Constant CSRF_FIELD 

Source
pub const CSRF_FIELD: &'static str;
Expand description

The form field and the header a token may arrive in. _csrf is the one csrf_lock already requires of every state-changing <form>; the header is how a scripted fetch sends one.