expose content-length when downloading zips #2209
Unanswered
jimmywarting
asked this question in
Ideas
Replies: 2 comments 1 reply
-
hmm, just found out that the size is exposed in: https://api.github.com/repos/{repo}/actions/runs/{id}/artifacts. (tiny bit inconvenient) |
Beta Was this translation helpful? Give feedback.
1 reply
-
Side question: Do you have any reason as for why HEAD isn't in this list as well? access-control-allow-methods: OPTIONS,GET,POST,PATCH,PUT,DELETE had to resort to a solution where i use GET + AbortSignal to abort the request upon getting the Headers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, today i downloaded a zip from an artifact via some api.
I would like to present a visible progress bar and a est on how much time there is left, but it can't compute the download progress cuz it's lacking a content-length response header.
is that something you could add to the backend/api?
also i guess it would need to be added to the list of access-control-expose-headers
sry if this is the wrong place to ask for this kind of question. might be a bit off topic from what this repo is really about
Beta Was this translation helpful? Give feedback.
All reactions