title: Changing http status during streaming rendering (renderToNodeStream)
body: <p>I try to implement streaming rendering.
  Whats I am doing now is:</p>
  <pre><code>// it is example code
  res.write(htmlHeader)
  const renderingStream = renderToNodeStream(&lt;App /&gt;);
  renderingStream.pipe(res)
  renderingStream.on('end', () =&gt; {
   res.end();
  });
  
  // I am tracking error a bit differently, it is just example
  renderingStream.on('error', () =&gt; {
    res.status(500);
  });
  </code></pre>
  <p>And as far I know, http status in express.js has to be set before we send anything to the client.
  It means, if I send html header section first, (to pre-fetch assets during rendering) it means I am not able to change http status code to anything else then 200?</p>
  <p>Is it posiblity to change http status during rendering after header section will be send?
  If not, how people dealing with http statuses if they decide for streaming rendering?</p>
  <p>Thanks!</p>