I have some http service which sends headers showing progress while preparing response.
So it looks like X-progress: 10% X-progress: 20% (after some time) ... X-progress: 100% (after more time)
And only after that it start sending the response body.
Is there a way to get that progress info in golang http client? Kinda OnHeaderArrived callback?
I can do it on low level just with simple TCP client but it means i will need to reimplement a lot of HTTP protocol stuff. May there is a way to use net/http above custom Dial connection?