//! Strips a client-sent caller purpose at the API edge.
//!
//! The caller purpose (`x-systemprompt-caller`) tells the credential broker
//! which workflow is asking for a credential, and the broker may refuse by
//! it. It is set by the issuer of a credential (an API key's `purpose`, a
//! JWT's `purpose` claim), never by its bearer, so an inbound copy of the
//! header is removed before any handler, proxy or gateway route sees it.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.
use Request;
use Next;
use Response;
use headers;
pub async