diff --git a/schema_salad/fetcher.py b/schema_salad/fetcher.py index 2bfcfc08..23e6bb6b 100644 --- a/schema_salad/fetcher.py +++ b/schema_salad/fetcher.py @@ -103,7 +103,7 @@ def check_exists(self, url: str) -> bool: if scheme in ["http", "https"] and self.session is not None: try: - resp = self.session.head(url) + resp = self.session.head(url, allow_redirects=True) resp.raise_for_status() except Exception: return False