mozilla / observatory-cli

Mozilla Public License 2.0
189 stars 24 forks source link

CLI isn't submitting analyze API call correctly #19

Closed april closed 8 years ago

april commented 8 years ago

Here's what should happen:

It should continue to poll via GET (every second or two) until either it receives a key of error, a failed request, one of those three states, or ~300 seconds or so have elapsed.

gregglind commented 8 years ago

Apparently, I am the least node-aware person on the planet, and am having trouble doing this! :)

april commented 8 years ago

Is it not just changing rp.post to rp.get, if the state from the POST is not one of those three?