~sircmpwn/sr.ht-discuss

2 2

[REQUEST] Content-Length header for GET/HEAD on git repo attachments

Details
Message ID
<874jaz1uo1.fsf@ushin.org>
DKIM signature
pass
Download raw message
Use case:

In order to build a confirmation step and progress bar in the
installation UI of <https://git.sr.ht/~ushin/hyperdrive.el>, we need to
know the size of an executable file before downloading it.

Would you be willing to consider returning a "Content-Length" header so
that the file size is returned in the following request?

curl --head https://git.sr.ht/~ushin/hyper-gateway-ushin/refs/download/v3.7.0/hyper-gateway-linux

Thank you!

Joseph
Details
Message ID
<D1KGW1U4Q5IY.U2OWV09K1SV0@cmpwn.com>
In-Reply-To
<874jaz1uo1.fsf@ushin.org> (view parent)
DKIM signature
pass
Download raw message
Added!
Details
Message ID
<8734q3gooe.fsf@ushin.org>
In-Reply-To
<D1KGW1U4Q5IY.U2OWV09K1SV0@cmpwn.com> (view parent)
DKIM signature
pass
Download raw message
"Drew DeVault" <sir@cmpwn.com> writes:

> Added!

Thank you!

Joseph
Reply to thread Export thread (mbox)