Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "What does HTTP method idempotency mean for a retried request?" on CodeWiki (https://codewiki.com/practice/mcq/foundations/checkpoint-4/checkpoint-4-idempotency/).
Context (verbatim from the page):
"""
What does HTTP method idempotency mean for a retried request?
Repeating the same intended request has the same intended server-side effect, though responses may differ.
Every attempt must return byte-for-byte identical response bodies.
A timeout proves the first attempt had no effect.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in CS foundations. Where you are unsure, say so.