Skip to main content

parse_idempotency_key

Function parse_idempotency_key 

Source
pub fn parse_idempotency_key(
    headers: &HeaderMap,
) -> Result<Option<String>, CoolError>
Expand description

Parse the Idempotency-Key request header. Returns Ok(None) if absent. The key must be ASCII and reasonably short to avoid storage abuse.