Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Name the `http.ResponseWriter` method after which changing ordinary response headers is too late." on CodeWiki (https://codewiki.com/practice/fill/go/checkpoint-4/checkpoint-4-header-commit/).
Context (verbatim from the page):
"""
Name the `http.ResponseWriter` method after which changing ordinary response headers is too late.
"""
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 Go. Where you are unsure, say so.