{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/spartacus/pulls/comments/27480656","id":27480656,"diff_hunk":"@@ -75,6 +75,9 @@ define([\n     request = $.ajax({\n       type: 'GET',\n       url: startUrl,\n+      headers: {\n+        \"Accept\": \"application/json\"","path":"public/js/lib/wait.js","position":5,"original_position":5,"commit_id":"dd28524e3fb14bf807c72a4d970afc8d9ad173cb","original_commit_id":"dd28524e3fb14bf807c72a4d970afc8d9ad173cb","user":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"body":"Thinking it might be a good idea to add that here: \r\n\r\nhttps://github.com/mozilla/spartacus/blob/master/public/js/main.js#L16\r\n\r\nThen it's the default for all xhr. We'd need to double-check logouts with bango still work, but otherwise it should be ok.","created_at":"2015-03-31T13:57:47Z","updated_at":"2015-03-31T13:57:47Z","html_url":"https://github.com/mozilla/spartacus/pull/219#discussion_r27480656","pull_request_url":"https://api.github.com/repos/mozilla/spartacus/pulls/219","_links":{"self":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/comments/27480656"},"html":{"href":"https://github.com/mozilla/spartacus/pull/219#discussion_r27480656"},"pull_request":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/219"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/spartacus/pulls/219","id":32319520,"html_url":"https://github.com/mozilla/spartacus/pull/219","diff_url":"https://github.com/mozilla/spartacus/pull/219.diff","patch_url":"https://github.com/mozilla/spartacus/pull/219.patch","issue_url":"https://api.github.com/repos/mozilla/spartacus/issues/219","number":219,"state":"open","locked":false,"title":"show solitude errored transactions (bug 1149095)","user":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"body":"![screenshot 2015-03-31 13 59 34](https://cloud.githubusercontent.com/assets/74699/6919394/768dba34-d7ae-11e4-8e7d-26a0131060b5.png)\r\n","created_at":"2015-03-31T13:01:04Z","updated_at":"2015-03-31T13:57:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d2aa6d03f2f944efcf106833c2eaf2f7e2d164b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/spartacus/pulls/219/commits","review_comments_url":"https://api.github.com/repos/mozilla/spartacus/pulls/219/comments","review_comment_url":"https://api.github.com/repos/mozilla/spartacus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/spartacus/issues/219/comments","statuses_url":"https://api.github.com/repos/mozilla/spartacus/statuses/dd28524e3fb14bf807c72a4d970afc8d9ad173cb","head":{"label":"mozilla:1149095","ref":"1149095","sha":"dd28524e3fb14bf807c72a4d970afc8d9ad173cb","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":16289140,"name":"spartacus","full_name":"mozilla/spartacus","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/spartacus","description":"Spartacus is a single page app front-end for Webpay.","fork":false,"url":"https://api.github.com/repos/mozilla/spartacus","forks_url":"https://api.github.com/repos/mozilla/spartacus/forks","keys_url":"https://api.github.com/repos/mozilla/spartacus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/spartacus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/spartacus/teams","hooks_url":"https://api.github.com/repos/mozilla/spartacus/hooks","issue_events_url":"https://api.github.com/repos/mozilla/spartacus/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/spartacus/events","assignees_url":"https://api.github.com/repos/mozilla/spartacus/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/spartacus/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/spartacus/tags","blobs_url":"https://api.github.com/repos/mozilla/spartacus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/spartacus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/spartacus/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/spartacus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/spartacus/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/spartacus/languages","stargazers_url":"https://api.github.com/repos/mozilla/spartacus/stargazers","contributors_url":"https://api.github.com/repos/mozilla/spartacus/contributors","subscribers_url":"https://api.github.com/repos/mozilla/spartacus/subscribers","subscription_url":"https://api.github.com/repos/mozilla/spartacus/subscription","commits_url":"https://api.github.com/repos/mozilla/spartacus/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/spartacus/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/spartacus/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/spartacus/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/spartacus/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/spartacus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/spartacus/merges","archive_url":"https://api.github.com/repos/mozilla/spartacus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/spartacus/downloads","issues_url":"https://api.github.com/repos/mozilla/spartacus/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/spartacus/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/spartacus/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/spartacus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/spartacus/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/spartacus/releases{/id}","created_at":"2014-01-27T19:02:16Z","updated_at":"2015-03-28T11:04:04Z","pushed_at":"2015-03-31T13:01:05Z","git_url":"git://github.com/mozilla/spartacus.git","ssh_url":"git@github.com:mozilla/spartacus.git","clone_url":"https://github.com/mozilla/spartacus.git","svn_url":"https://github.com/mozilla/spartacus","homepage":"","size":6200,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":1,"forks":25,"open_issues":1,"watchers":11,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"9e6cee336552515c3b3291a86dad970c0173ba25","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":16289140,"name":"spartacus","full_name":"mozilla/spartacus","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/spartacus","description":"Spartacus is a single page app front-end for Webpay.","fork":false,"url":"https://api.github.com/repos/mozilla/spartacus","forks_url":"https://api.github.com/repos/mozilla/spartacus/forks","keys_url":"https://api.github.com/repos/mozilla/spartacus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/spartacus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/spartacus/teams","hooks_url":"https://api.github.com/repos/mozilla/spartacus/hooks","issue_events_url":"https://api.github.com/repos/mozilla/spartacus/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/spartacus/events","assignees_url":"https://api.github.com/repos/mozilla/spartacus/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/spartacus/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/spartacus/tags","blobs_url":"https://api.github.com/repos/mozilla/spartacus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/spartacus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/spartacus/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/spartacus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/spartacus/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/spartacus/languages","stargazers_url":"https://api.github.com/repos/mozilla/spartacus/stargazers","contributors_url":"https://api.github.com/repos/mozilla/spartacus/contributors","subscribers_url":"https://api.github.com/repos/mozilla/spartacus/subscribers","subscription_url":"https://api.github.com/repos/mozilla/spartacus/subscription","commits_url":"https://api.github.com/repos/mozilla/spartacus/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/spartacus/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/spartacus/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/spartacus/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/spartacus/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/spartacus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/spartacus/merges","archive_url":"https://api.github.com/repos/mozilla/spartacus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/spartacus/downloads","issues_url":"https://api.github.com/repos/mozilla/spartacus/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/spartacus/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/spartacus/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/spartacus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/spartacus/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/spartacus/releases{/id}","created_at":"2014-01-27T19:02:16Z","updated_at":"2015-03-28T11:04:04Z","pushed_at":"2015-03-31T13:01:05Z","git_url":"git://github.com/mozilla/spartacus.git","ssh_url":"git@github.com:mozilla/spartacus.git","clone_url":"https://github.com/mozilla/spartacus.git","svn_url":"https://github.com/mozilla/spartacus","homepage":"","size":6200,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":1,"forks":25,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/219"},"html":{"href":"https://github.com/mozilla/spartacus/pull/219"},"issue":{"href":"https://api.github.com/repos/mozilla/spartacus/issues/219"},"comments":{"href":"https://api.github.com/repos/mozilla/spartacus/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/spartacus/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/spartacus/statuses/dd28524e3fb14bf807c72a4d970afc8d9ad173cb"}}}}