net/http: Flush in TimeoutHandler for Go1.13 is broken and might need a revert · Issue #34439 · golang/go
Currently (1.13) calling Flush on a ResponseWriter exposed by TimeoutHandler has some undesirable effect: it sends out default headers with a 200 OK status, ignoring whatever the caller set before ...