Build log's size before download?

Hi, is there any way to know the size of build log before downloading?
HTTP HEAD request for the raw S3 bucket does not return the Content-Length field in header.

background:

Thanks for the beta API, I implemented build log download feature in my bitrise iOS app.
And I thought it’s useful to know the size of the build log before download, because sometimes my build log is over 1GB and that is too big for Cellular networks.

Hello there,

head requests are not allowed for S3 signed urls, You could try to make a get request with the Range: bytes=0-0 in the header.

Thanks! It worked fine.:grinning:

1 Like

I’m glad to hear it! :upside_down_face:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.