We upload some customers files to an azure storage account and then allow access to them from web app.
I have a problem with some files over 1 Mb as webbrowsers display them as a blank square but they are correctly uploaded and can be downloaded to.
What really puzzles me is that the response headers are all ok but the image is not displayed.
Example response headers:
- HTTP/1.1 200 OK
- Content-Length: 1615694
- Content-Type: image/jpeg
- Content-MD5: A9QHxxvIeNq42 b/1.0 Microsoft-HTTPAPI/2.0
- x-ms-request-id: bc828201-c01e-002d-488c-a57150000000
- x-ms-version: 2009-09-19
- x-ms-lease-status: unlocked
- x-ms-blob-type: BlockBlob
- Access-Control-Expose-Headers: x-ms-request-id,Server,x-ms-version,Content-Type,Last-Modified,ETag,Content-MD5,x-ms-lease-status,x-ms-blob-type,Content-Length,Date,Transfer-Encoding
- Access-Control-Allow-Origin: *
- Date: Mon, 01 Aug 2022 09:54:56 GMT