Coldsweat currently tries to handle 301 status codes but fails given that Request package follows redirects automatically and response's status_code not reflect the original status returned.
Looks fixed. The way it works now is to check the first response from request.history array and to act accordingly. If there's more than one permanent redirect those will be updated in subsequents fetches.
Coldsweat currently tries to handle 301 status codes but fails given that Request package follows redirects automatically and response's status_code not reflect the original status returned.
To fix that Coldsweat should check the request history attr: http://docs.python-requests.org/en/latest/user/quickstart/#redirection-and-history
Case in point: http://feeds.feedburner.com/maxvoltar now http://maxvoltar.com/feed
Note: Perhaps feed.alternate_link should also be updated after a 301 message.