Server Sent Events

First attempt at using default mitmproxy with my local site failed, SSE seems not to come through. Is there something I should set somewhere?

This testpage should show updates on wikipedia articles, but is just waiting for connection.

<!DOCTYPE html>
<html>
  <head>
    <title>SSE test</title>
  </head>
  <body>
    <h1>Stream</h1>
    <div id="stream"></div>
    <script>
      var source = new EventSource('https://stream.wikimedia.org/v2/stream/recentchange');
      source.onmessage = function(event) {
        document.getElementById("stream").innerHTML += event.data + "<br>";
      };
    </script>
  </body>
</html>