Function notedealer::http_api::activity_json::accept_guard
source · [−]pub fn accept_guard(ctx: &GuardContext<'_>) -> boolExpand description
A guard to filter out requests that do not have either CT_ACTIVITY_JSON or
CT_ACTIVITY_JSON_SHORT in their Accept header.