I'm writing a piece of middleware in nodejs which accesses another server's restful api, including some items that have to get accessed through long polling.
I'm using the xhr2 module to perform the GET of the long poll, but no data is coming back. Is there anything special I need to do for the long polling?
Additional notes that may add light: if I type the GET query into a Firefox browser's url bar, it happily fetches the data, while Chrome just sits there.