execute_challenge_submission

Function execute_challenge_submission 

Source
pub async fn execute_challenge_submission(
    client: Arc<dyn ChallengeHttpClient>,
    submission: ChallengeSubmission,
    original_request: OriginalRequest,
) -> Result<ChallengeHttpResponse, ChallengeExecutionError>
Expand description

Executes the Cloudflare response submission for IUAM-style challenges.

Submission steps:

  1. Wait the enforced delay duration.
  2. POST the computed payload back to Cloudflare.
  3. If the response is a redirect, follow it manually (respecting relative URLs).
  4. Return the final response so callers can resume normal processing.