Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "What does `Cache-Control: no-cache` require for a stored response?" on CodeWiki (https://codewiki.com/practice/mcq/foundations/http-semantics/no-cache-meaning/).
Context (verbatim from the page):
"""
What does `Cache-Control: no-cache` require for a stored response?
The response must never be stored.
The response must be validated successfully before reuse.
Only a shared cache may store it.
The response remains fresh forever.
"""
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.