{"action":"opened","issue":{"url":"https://api.github.com/repos/kurtmckee/feedparser/issues/21","labels_url":"https://api.github.com/repos/kurtmckee/feedparser/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/kurtmckee/feedparser/issues/21/comments","events_url":"https://api.github.com/repos/kurtmckee/feedparser/issues/21/events","html_url":"https://github.com/kurtmckee/feedparser/issues/21","id":72637814,"number":21,"title":"Handling http 301 in result['status']","user":{"login":"m1m","id":3882185,"avatar_url":"https://avatars.githubusercontent.com/u/3882185?v=3","gravatar_id":"","url":"https://api.github.com/users/m1m","html_url":"https://github.com/m1m","followers_url":"https://api.github.com/users/m1m/followers","following_url":"https://api.github.com/users/m1m/following{/other_user}","gists_url":"https://api.github.com/users/m1m/gists{/gist_id}","starred_url":"https://api.github.com/users/m1m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m1m/subscriptions","organizations_url":"https://api.github.com/users/m1m/orgs","repos_url":"https://api.github.com/users/m1m/repos","events_url":"https://api.github.com/users/m1m/events{/privacy}","received_events_url":"https://api.github.com/users/m1m/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-02T12:16:42Z","updated_at":"2015-05-02T12:16:42Z","closed_at":null,"body":"Hi,\r\nMany sites uses 3rd party software to distribute content (feedsportal, feedburner, etc.). In such case we always get 301 or 302  from http://mysite.com/feed to http://feeds.feedburner.com/mysite. In the end we get 200 or 304.\r\n\r\nHowever `parse()` always return status set to 301. I think we should return final response code.\r\nHere's my patch:\r\nreplace lines \r\n> 1969\t    if hasattr(f, 'status'):\r\n> 1970\t        result['status'] = f.status\r\n\r\nwith \r\n\r\n> result['status'] = getattr(f, 'code', 200)\r\n\r\nOr maybe we can add this as new entry in result (along with status)"}}