В Go 1.20 был введен тип http.ResponseController, который предоставляет ряд преимуществ (приводим в оригинале из статьи Алекса Эдвардса):
1. You can now override your server-wide read and write deadlines on a per request basis.
2. The pattern for using the http.Flusher and http.Hijacker interfaces is clearer and feels less hacky. No more type assertions necessary!
3. It makes it easier and safer to create and use custom http.ResponseWriter implementations.
Узнайте подробнее об этих преимуществах на примерах.