bubersson/humla — comment on commit b585b276e780bd868683186dbe86e7bebf89af57
File:  line 0
By bubersson:

Even with those event listeners we are not able to tell exactly if the user is able to establish connection with Humla Server. He may not even have a connection to the Internet (e.g. he has not paid his invoice and therefore ISP shows him some basic html page for all his requests - mobile Internet O2 Czech). So when we want to know if user has access to Humla Server we have to:
1. check navigator.onLine,
2. check humla.online (set up with those events),
3. make a simple GET request (maybe with few timeouts acceptable?) to our REST /api/online -- TODO

For access to other servers (github...), point (2) should be ok...