Skip to content

CaptchaResponse

Source code in docs_src/capo_wafv2/types/captcha_response.py
class CaptchaResponse(TypedDict, closed=True):
    response_code: NotRequired["capo_wafv2.types.response_code.ResponseCode"]
    """<p>The HTTP response code indicating the status of the <code>CAPTCHA</code> token in the web request. If the token is missing, invalid, or expired, this code is <code>405 Method Not Allowed</code>.</p>"""
    solve_timestamp: NotRequired["capo_wafv2.types.solve_timestamp.SolveTimestamp"]
    """<p>The time that the <code>CAPTCHA</code> was last solved for the supplied token. </p>"""
    failure_reason: NotRequired["capo_wafv2.types.failure_reason.FailureReason"]
    """<p>The reason for failure, populated when the evaluation of the token fails.</p>"""

failure_reason instance-attribute

failure_reason: NotRequired[FailureReason]

The reason for failure, populated when the evaluation of the token fails.

response_code instance-attribute

response_code: NotRequired[ResponseCode]

The HTTP response code indicating the status of the CAPTCHA token in the web request. If the token is missing, invalid, or expired, this code is 405 Method Not Allowed.

solve_timestamp instance-attribute

solve_timestamp: NotRequired[SolveTimestamp]

The time that the CAPTCHA was last solved for the supplied token.