Right now writing to the headers field after the headers have been written leads to those changes being silently ignored. Additionally, there is no public way to know if the headers have been written. Together, these form a rather lethal combination.