@meh The problem was the HTTP::Request object allows other callbacks that are not in the STATES constant. Particularly, it fires 'success' or 'failure' when a request is complete based on the response code. Furthermore, it looks like HTTP::Request also will fire callbacks for specific response codes:
request.on '200' do
...
end
So I swapped the filter for callbacks based on what Event::Progress handles. Working much better now.
@meh The problem was the HTTP::Request object allows other callbacks that are not in the STATES constant. Particularly, it fires 'success' or 'failure' when a request is complete based on the response code. Furthermore, it looks like HTTP::Request also will fire callbacks for specific response codes:
So I swapped the filter for callbacks based on what Event::Progress handles. Working much better now.