A spruce-mill inventory download opens in the browser as a generic octet-stream instead of a PDF. Which Blob SDK fix should the developer apply?
Select an answer to reveal the explanation.
Short Explanation
Browsers trust the Content-Type nameplate, not a sticky note in metadata. Set the blob’s HTTP Content-Type property to application/pdf. Redis and Azure Files are the wrong toolbox for this header fix.
Full Explanation
Content-Type is a blob system property set through the SDK’s HTTP header / SetHttpHeaders-style APIs. User metadata is not a substitute for Content-Type when clients negotiate MIME handling. CDN/Redis caching and Azure Files do not correct the blob’s Content-Type property for this scenario.