Allow "head" requests for /image to get file size before downloading the image
Knowing the file size before fetching the content can drastically improve the user experience and save bandwidth.
Image urls returned from the /api/image endpoint don’t allow HEAD requests.
As described on MDN, the HTTP HEAD Method can be used to do that. It will return the content-length:
MDN Web DocsUnfortunately the images served from S3 only allow GET requests.
Feature request
Allow HEAD requests on the S3 image URLs
Reproduction:
