Closed
Description
See comments on CL 80077.
I am worried about (accidental) sequences like:
w.Write([]byte("whatever"))
w.WriteHeader(badCode)
or
w.Hijack()
w.WriteHeader(badCode)
Those WriteHeader calls were formerly reported in a logf as out of sequence but otherwise ignored. They should probably continue to be logf+no-op instead of causing a panic.