'Check for the *very strange* Refresh HTTP header, which looks like a
<meta refresh> in the header context!
http://stackoverflow.com/questions/283752/refresh-http-header'

def _refresh_redirect(self, response, lheaders):

    if ('refresh' in lheaders):
        refresh = lheaders['refresh']
        splitted_refresh = refresh.split('=', 1)
        if (len(splitted_refresh) == 2):
            (_, url) = splitted_refresh
            for test_url in self.TEST_URLS:
                if self._domains_are_equal(url, test_url):
                    return True
    return False
