musicbrainz/picard — pull request #5 by voiceinsideyou (2011-10-19 17:05:07+00:00)
Title: PICARD-54 Support URL redirects (again) in XmlWebService.

* Made attempt to stop obvious infinite redirects.
* Improved logging of errors from XmlWebService component (elevated them to error level) to assist user support of transient network issues.

Tested with example releases that have redirected cover art:
http://musicbrainz.org/release/6bf739d3-d77e-44d9-a104-b604743ae02e
http://musicbrainz.org/release/d8c25374-de56-4698-9f7b-3c25788e504b
http://musicbrainz.org/release/dd35cd6e-5f95-4ba4-aa4f-c02ba97ec15a

Tested with Picard under heavy load as well as light load. No albums observed getting "stuck".

Approach from http://www.developer.nokia.com/Community/Wiki/CS001432_-_Handling_an_HTTP_redirect_with_QNetworkAccessManager