{"action":"created","issue":{"url":"https://api.github.com/repos/DirectMyFile/github.dart/issues/53","labels_url":"https://api.github.com/repos/DirectMyFile/github.dart/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/DirectMyFile/github.dart/issues/53/comments","events_url":"https://api.github.com/repos/DirectMyFile/github.dart/issues/53/events","html_url":"https://github.com/DirectMyFile/github.dart/issues/53","id":59392722,"number":53,"title":"Listing repos for an org that has multiple page seem to go into a loop forever","user":{"login":"nicolasgarnier","id":3766663,"avatar_url":"https://avatars.githubusercontent.com/u/3766663?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasgarnier","html_url":"https://github.com/nicolasgarnier","followers_url":"https://api.github.com/users/nicolasgarnier/followers","following_url":"https://api.github.com/users/nicolasgarnier/following{/other_user}","gists_url":"https://api.github.com/users/nicolasgarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasgarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasgarnier/subscriptions","organizations_url":"https://api.github.com/users/nicolasgarnier/orgs","repos_url":"https://api.github.com/users/nicolasgarnier/repos","events_url":"https://api.github.com/users/nicolasgarnier/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasgarnier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-01T11:35:03Z","updated_at":"2015-03-01T16:45:32Z","closed_at":null,"body":"On my app [GitHub Issue Mover](https://github-issue-mover.appspot.com/) it seems that when trying to list the repos for an org that has lots of repos (multiple pages), like for example the `dart-lang` org or `GoogleChrome` or `GoogleCloudSamples` or `google` for instance The page 2 is being pulled forever when calling this method:\r\n\r\n    gitHub.repositories.listUserRepositories(orgName).toList()\r\n\r\nWhen I look at the Network in Chrome dev tab I see the following page downloaded many may times:\r\n\r\nRequest URL:https://api.github.com/user/1778935/repos?type=owner&sort=full_name&direction=asc&page=2?type=owner&sort=full_name&direction=asc\r\nRequest Method:GET\r\n\r\n\r\nThe reponse does contains the following header:\r\n```\r\nLink:<https://api.github.com/user/1342004/repos?type=owner&sort=full_name&direction=asc&page=2>; rel=\"next\", <https://api.github.com/user/1342004/repos?type=owner&sort=full_name&direction=asc&page=13>; rel=\"last\"\r\n```\r\n\r\nBut Page 2 is re-downloaded always.\r\n\r\nI did not change anything in the app for month but surely App Engine deployed a new version so it might have downloaded a new version of `github.dart`. Any idea what could be causing this?\r\n\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/DirectMyFile/github.dart/issues/comments/76610212","html_url":"https://github.com/DirectMyFile/github.dart/issues/53#issuecomment-76610212","issue_url":"https://api.github.com/repos/DirectMyFile/github.dart/issues/53","id":76610212,"user":{"login":"kaendfinger","id":2130849,"avatar_url":"https://avatars.githubusercontent.com/u/2130849?v=3","gravatar_id":"","url":"https://api.github.com/users/kaendfinger","html_url":"https://github.com/kaendfinger","followers_url":"https://api.github.com/users/kaendfinger/followers","following_url":"https://api.github.com/users/kaendfinger/following{/other_user}","gists_url":"https://api.github.com/users/kaendfinger/gists{/gist_id}","starred_url":"https://api.github.com/users/kaendfinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaendfinger/subscriptions","organizations_url":"https://api.github.com/users/kaendfinger/orgs","repos_url":"https://api.github.com/users/kaendfinger/repos","events_url":"https://api.github.com/users/kaendfinger/events{/privacy}","received_events_url":"https://api.github.com/users/kaendfinger/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T16:45:32Z","updated_at":"2015-03-01T16:45:32Z","body":"@nicolasgarnier I tried to reproduce but I am unable to.\r\n\r\nTry this page: http://github.directcode.org/demos/repos.html?user=dart-lang\r\n\r\nI pushed an update just in case something weird is going on, let me know if it works after that."}}