Drip not dripping?
Is the drip api still working? I tried this jsfiddle and also curl but it seems like the data gets delayed until the end. Perhaps your CDN is waiting for the request to complete or so?
curl https://httpbin.org/drip?duration=5&numbytes=5000
It could be Heroku's proxy that is doing this. I am confident the endpoint is written correctly because I've stolen the basic ideas for other flask projects I've written.
Could be. I am seeing Server:nginx, is that Heroku? They are probably using proxy_buffering on.
Er, put it like this. Last I checked, @Runscope/httpbin 's engineers who manage the deployment were still using Heroku. If you run httpbin locally, do you still see the same issue? My guess is no. (I don't have time to check right now.)
Actually yes I do see the same problem locally.
That's bizarre. According to Flask's documentation, our endpoint should work correctly.
I wonder if Flask/werkzeug behave differently if there's a Content-Length header. Can you modify your local copy to get rid of that?
That doesn't seem to fix it.
Interesting
Same issue. I see 8s for TTFB when I send a delay of 0 and a duration of 8. I am running on Heroku.