Build log's size before download?

#1

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.

0 Likes

#2

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.

0 Likes

#3

Thanks! It worked fine.:grinning:

1 Like

#4

I’m glad to hear it! :upside_down_face:

0 Likes

closed #5

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

0 Likes