{"action":"created","issue":{"url":"https://api.github.com/repos/HubSpot/offline/issues/158","labels_url":"https://api.github.com/repos/HubSpot/offline/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/HubSpot/offline/issues/158/comments","events_url":"https://api.github.com/repos/HubSpot/offline/issues/158/events","html_url":"https://github.com/HubSpot/offline/issues/158","id":101458329,"number":158,"title":"Add documentation for how to distinguish between user being offline and the server being down","user":{"login":"Thunderforge","id":6200170,"avatar_url":"https://avatars.githubusercontent.com/u/6200170?v=3","gravatar_id":"","url":"https://api.github.com/users/Thunderforge","html_url":"https://github.com/Thunderforge","followers_url":"https://api.github.com/users/Thunderforge/followers","following_url":"https://api.github.com/users/Thunderforge/following{/other_user}","gists_url":"https://api.github.com/users/Thunderforge/gists{/gist_id}","starred_url":"https://api.github.com/users/Thunderforge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thunderforge/subscriptions","organizations_url":"https://api.github.com/users/Thunderforge/orgs","repos_url":"https://api.github.com/users/Thunderforge/repos","events_url":"https://api.github.com/users/Thunderforge/events{/privacy}","received_events_url":"https://api.github.com/users/Thunderforge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-17T16:21:55Z","updated_at":"2015-08-17T20:20:35Z","closed_at":null,"body":"Our biggest question about Gauge has been how to distinguish between the server being down and the client going offline. This is not addressed in the documentation, nor is there an IRC or other way of contacting someone to ask. We even wound up creating [a bounty on Stack Overflow](http://stackoverflow.com/q/31925086/531762) to ask about this issue.\r\n\r\nThis important issue of how to distinguish these two things ought to be described in the documentation."},"comment":{"url":"https://api.github.com/repos/HubSpot/offline/issues/comments/131948451","html_url":"https://github.com/HubSpot/offline/issues/158#issuecomment-131948451","issue_url":"https://api.github.com/repos/HubSpot/offline/issues/158","id":131948451,"user":{"login":"zackbloom","id":55347,"avatar_url":"https://avatars.githubusercontent.com/u/55347?v=3","gravatar_id":"","url":"https://api.github.com/users/zackbloom","html_url":"https://github.com/zackbloom","followers_url":"https://api.github.com/users/zackbloom/followers","following_url":"https://api.github.com/users/zackbloom/following{/other_user}","gists_url":"https://api.github.com/users/zackbloom/gists{/gist_id}","starred_url":"https://api.github.com/users/zackbloom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackbloom/subscriptions","organizations_url":"https://api.github.com/users/zackbloom/orgs","repos_url":"https://api.github.com/users/zackbloom/repos","events_url":"https://api.github.com/users/zackbloom/events{/privacy}","received_events_url":"https://api.github.com/users/zackbloom/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T20:20:35Z","updated_at":"2015-08-17T20:20:35Z","body":"You can connect to a URL with permissive CORS settings (`Access-Control-Allow-Origin: *`) or download an image or script from any domain (not restricted by CORS).  Another option would be to host a blank file on Amazon S3+CloudFront for this purpose, where you can control the CORS headers."}}