Incus Head Files Request Does Not Include File Size


I was wondering why when you hit HEAD /1.0/instances/{name}/files?path=${path}, the size of the file you are hitting is not included as a header.

Is there a way (other than fetching the file data and getting the Content-Length header, which is a really dodgy) to get the size of a file?

1 Like

Thank you! That is going to make my life so much easier!