HubSpot/offline — pull request #100 by leehambley (2014-09-14 17:49:42+00:00)
Title: Fix #99 (Consider any 5xx code as down state)

In hindsight, perhaps only 502 should be considered a down state, as 500 might be temporary (i.e. bad input) but 502 really means "the thing I want to talk to is down".