We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec376b6 commit 9809e0dCopy full SHA for 9809e0d
1 file changed
src/obspec_utils/stores/_aiohttp.py
@@ -582,7 +582,9 @@ async def _do_head_async(
582
url = self._build_url(path)
583
request_headers = {} if self._session else dict(self.headers)
584
585
- async with session.head(url, headers=request_headers) as response:
+ async with session.head(
586
+ url, allow_redirects=True, headers=request_headers
587
+ ) as response:
588
response.raise_for_status()
589
return self._parse_meta_from_headers(path, dict(response.headers))
590
0 commit comments