{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/iron-form/issues/36","labels_url":"https://api.github.com/repos/PolymerElements/iron-form/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/iron-form/issues/36/comments","events_url":"https://api.github.com/repos/PolymerElements/iron-form/issues/36/events","html_url":"https://github.com/PolymerElements/iron-form/pull/36","id":97976263,"number":36,"title":"Switched iron-form-response to contain the iron-request object instead of only the response object","user":{"login":"taylorstine","id":4440753,"avatar_url":"https://avatars.githubusercontent.com/u/4440753?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorstine","html_url":"https://github.com/taylorstine","followers_url":"https://api.github.com/users/taylorstine/followers","following_url":"https://api.github.com/users/taylorstine/following{/other_user}","gists_url":"https://api.github.com/users/taylorstine/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorstine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorstine/subscriptions","organizations_url":"https://api.github.com/users/taylorstine/orgs","repos_url":"https://api.github.com/users/taylorstine/repos","events_url":"https://api.github.com/users/taylorstine/events{/privacy}","received_events_url":"https://api.github.com/users/taylorstine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/iron-form/labels/pending-response","name":"pending-response","color":"333333"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-29T16:35:32Z","updated_at":"2015-09-22T21:20:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PolymerElements/iron-form/pulls/36","html_url":"https://github.com/PolymerElements/iron-form/pull/36","diff_url":"https://github.com/PolymerElements/iron-form/pull/36.diff","patch_url":"https://github.com/PolymerElements/iron-form/pull/36.patch"},"body":"The issue that I am having is that I am looking for a way to reliably tell if I have no network connectivity when I perform and `iron-form` submit.  Because the `_handleFormResponse` method only passes me the response from the `iron-request` I am unable to retrieve a status code to confirm that the network request failed.  The `iron-form-response` event is fired for network calls that failed due to no network connectivity, so my \"success\" handler's actions are being triggered.  One option to fix this would be to send a status message from my server indicating success, and test for the presence of that response in the `iron-form-response` handler.  However, I do not see the issue with passing the whole `iron-request` object back to the `iron-form-response` handler.   This would allow me to retrieve the status code, and test if it `=== 0` to determine if my form submit request actually failed due to no connectivity."},"comment":{"url":"https://api.github.com/repos/PolymerElements/iron-form/issues/comments/142426205","html_url":"https://github.com/PolymerElements/iron-form/pull/36#issuecomment-142426205","issue_url":"https://api.github.com/repos/PolymerElements/iron-form/issues/36","id":142426205,"user":{"login":"taylorstine","id":4440753,"avatar_url":"https://avatars.githubusercontent.com/u/4440753?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorstine","html_url":"https://github.com/taylorstine","followers_url":"https://api.github.com/users/taylorstine/followers","following_url":"https://api.github.com/users/taylorstine/following{/other_user}","gists_url":"https://api.github.com/users/taylorstine/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorstine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorstine/subscriptions","organizations_url":"https://api.github.com/users/taylorstine/orgs","repos_url":"https://api.github.com/users/taylorstine/repos","events_url":"https://api.github.com/users/taylorstine/events{/privacy}","received_events_url":"https://api.github.com/users/taylorstine/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T21:20:46Z","updated_at":"2015-09-22T21:20:46Z","body":":flushed: yes, sorry for the delay!"}}