{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/26","repository_url":"https://api.github.com/repos/yiisoft/jquery-pjax","labels_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/26/comments","events_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/26/events","html_url":"https://github.com/yiisoft/jquery-pjax/issues/26","id":104392808,"number":26,"title":"Pjax redirect not working in Internet Explorer (IE11).","user":{"login":"w3MediaLabs","id":7306696,"avatar_url":"https://avatars.githubusercontent.com/u/7306696?v=3","gravatar_id":"","url":"https://api.github.com/users/w3MediaLabs","html_url":"https://github.com/w3MediaLabs","followers_url":"https://api.github.com/users/w3MediaLabs/followers","following_url":"https://api.github.com/users/w3MediaLabs/following{/other_user}","gists_url":"https://api.github.com/users/w3MediaLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/w3MediaLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3MediaLabs/subscriptions","organizations_url":"https://api.github.com/users/w3MediaLabs/orgs","repos_url":"https://api.github.com/users/w3MediaLabs/repos","events_url":"https://api.github.com/users/w3MediaLabs/events{/privacy}","received_events_url":"https://api.github.com/users/w3MediaLabs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/jquery-pjax/labels/type:bug","name":"type:bug","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-02T03:00:55Z","updated_at":"2016-03-13T14:58:18Z","closed_at":"2015-11-24T11:30:30Z","body":"The controller code adds a header \"X-Pjax-Url\" that is successfully passed with the response.\r\n\r\nThe redirect for Pjax is handled through the pjax.js methods just fine in Chrome, Safari, and Firefox, but fails in IE11.\r\n\r\nWhen I use the included IE debugger and view the response headers, the header is there and the url is correct, but IE11 isn't reading it.\r\n\r\nThe response error:\r\n![pjax-response-error](https://cloud.githubusercontent.com/assets/7306696/9622121/13e3cce8-50fd-11e5-9798-f3e2cb037ade.jpg)\r\n\r\nThe response headers:\r\n![pjax-response-headers](https://cloud.githubusercontent.com/assets/7306696/9622134/207cbbf4-50fd-11e5-908f-a31964e10b9b.jpg)\r\n\r\nAny ideas?\r\n\r\nI have also asked this on the main Pjax  GitHub page, but it hasn't received any responses.\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/comments/195972892","html_url":"https://github.com/yiisoft/jquery-pjax/issues/26#issuecomment-195972892","issue_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/26","id":195972892,"user":{"login":"nepster-web","id":5681979,"avatar_url":"https://avatars.githubusercontent.com/u/5681979?v=3","gravatar_id":"","url":"https://api.github.com/users/nepster-web","html_url":"https://github.com/nepster-web","followers_url":"https://api.github.com/users/nepster-web/followers","following_url":"https://api.github.com/users/nepster-web/following{/other_user}","gists_url":"https://api.github.com/users/nepster-web/gists{/gist_id}","starred_url":"https://api.github.com/users/nepster-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nepster-web/subscriptions","organizations_url":"https://api.github.com/users/nepster-web/orgs","repos_url":"https://api.github.com/users/nepster-web/repos","events_url":"https://api.github.com/users/nepster-web/events{/privacy}","received_events_url":"https://api.github.com/users/nepster-web/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T14:58:17Z","updated_at":"2016-03-13T14:58:17Z","body":"I use redirect 308:\r\n\r\n```\r\n    public function redirect($url, $statusCode = 302, $checkAjax = true)\r\n    {\r\n        if (Yii::$app->getRequest()->getIsAjax()) {\r\n            if ($statusCode == 302) {\r\n                $statusCode = 308;\r\n            }\r\n        }\r\n        return parent::redirect($url, $statusCode, $checkAjax);\r\n    }\r\n``"}}