This service is used as an example to demonstrate the Chromium issue described at https://bugs.chromium.org/p/chromium/issues/detail?id=773654
It does not use any external dependencies. To run this, simply follow theses steps:
go build server.go
./server
This will run a HTTP server on port 8080. To test the issue, open the page with Chromium, open the developer tools network tab and reload the page. Upon loading it will make an XHR call to /data
. Inspeciting this in the developer tools should demonstrate the issue linked above.