You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working to utilize #166 with OSDF using Pelican. However, when I issue a HTTP HEAD request (for various reasons, we want to see the content length prior to pulling the object), I ultimately get a 403.
If I swap out the HEAD with a GET, it appears I can download the file normally.
It's surprisingly non-trivial to get rid of the HEAD request from my side: can we fix the AWS permission? Alternately, if api.dandiarchive.org knows the size of the file, the redirect can probably be skipped.
The text was updated successfully, but these errors were encountered:
I've been working to utilize #166 with OSDF using Pelican. However, when I issue a HTTP
HEAD
request (for various reasons, we want to see the content length prior to pulling the object), I ultimately get a 403.To reproduce, try the following
curl
command:Currently, this results in the following redirections:
If I swap out the
HEAD
with aGET
, it appears I can download the file normally.It's surprisingly non-trivial to get rid of the
HEAD
request from my side: can we fix the AWS permission? Alternately, ifapi.dandiarchive.org
knows the size of the file, the redirect can probably be skipped.The text was updated successfully, but these errors were encountered: