Manual flush golang http.ResponseWriter

golang flush http.ResponseWriter

Problem For a recent project I wanted to start rendering the HTML page even if the server was still working on a long runing task. (For showing the loading screen of https://unshort.link without the use of JavaScript) My code looked basically like following: loadingHTMLByteReader is the HTML I already wanted to render even that the […]