{"action":"created","issue":{"url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/426","labels_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/426/comments","events_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/426/events","html_url":"https://github.com/defunkt/jquery-pjax/issues/426","id":41026981,"number":426,"title":"The URL should update if the request hits a 301/302 redirect.","user":{"login":"bsthomsen","id":531741,"avatar_url":"https://avatars.githubusercontent.com/u/531741?v=3","gravatar_id":"","url":"https://api.github.com/users/bsthomsen","html_url":"https://github.com/bsthomsen","followers_url":"https://api.github.com/users/bsthomsen/followers","following_url":"https://api.github.com/users/bsthomsen/following{/other_user}","gists_url":"https://api.github.com/users/bsthomsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bsthomsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsthomsen/subscriptions","organizations_url":"https://api.github.com/users/bsthomsen/orgs","repos_url":"https://api.github.com/users/bsthomsen/repos","events_url":"https://api.github.com/users/bsthomsen/events{/privacy}","received_events_url":"https://api.github.com/users/bsthomsen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-08-25T01:54:56Z","updated_at":"2015-03-23T17:28:22Z","closed_at":"2014-10-14T13:20:34Z","body":""},"comment":{"url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/comments/85113910","html_url":"https://github.com/defunkt/jquery-pjax/issues/426#issuecomment-85113910","issue_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/426","id":85113910,"user":{"login":"bsthomsen","id":531741,"avatar_url":"https://avatars.githubusercontent.com/u/531741?v=3","gravatar_id":"","url":"https://api.github.com/users/bsthomsen","html_url":"https://github.com/bsthomsen","followers_url":"https://api.github.com/users/bsthomsen/followers","following_url":"https://api.github.com/users/bsthomsen/following{/other_user}","gists_url":"https://api.github.com/users/bsthomsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bsthomsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsthomsen/subscriptions","organizations_url":"https://api.github.com/users/bsthomsen/orgs","repos_url":"https://api.github.com/users/bsthomsen/repos","events_url":"https://api.github.com/users/bsthomsen/events{/privacy}","received_events_url":"https://api.github.com/users/bsthomsen/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T17:28:22Z","updated_at":"2015-03-23T17:28:22Z","body":"Well the concrete problem for me is for example, we have a list of devices:\r\nAppe Iphone 5s\r\nSamsung Galaxy S5\r\n\r\nWhile the Samsung Galaxy S5 should go straight to /device-name/ the Apple Iphone 5s might have operating systems, so therefore if the Apple iPhone 5s have operatingsystems it will redirect 301 to a url /device-name/select-os/.\r\n\r\nOf course this could be solved by printing the correct links in the first place, but there could be other use cases where some content has been permanently moved. Then it would only make sense that the url updated because the content shown is actually not the content corresponding to the url.\r\n\r\nI get that this problem might not be pjax's to solve but I personally think you should consider it. Becuase people use this plugin because it's the perfect tool for a backend developer. And they just want their backend reflected in the frontend with a neet little 5-10 line jquery plugin like this."}}