callbacks don't seem to be called when http.request is called from inside a coroutine

I’ve noticed that when I call http.request from inside a coroutine, the callbacks (i.e. successFunction or failFunction in the example below) don’t get called:

http.request(url, successFunction, failFunction)

It seems to work fine when called from outside a coroutine (e.g. either directly or indirectly from the draw function of my main loop).

Has anyone else seen this?

Yeah I’ve noticed the same. I don’t believe a coroutine works with the mechanics of http.request.

Ok glad I’m not the only one! It’s not so difficult to work around luckily so no big deal, but it did confuse me for a while.