Azure/azure-storage-js

Unable to set blob content type on BlockBlubURL upload

Closed this issue · 1 comments

J-tt commented

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the SDK was used?

2.3.1-preview

What's the Node.js/Browser version?

8.11.1

What problem was encountered?

Cannot set the content type for uploaded blob

Steps to reproduce the issue?

Upload blob with the following code:

  let blobUpload = await blockBlobURL.upload(
	Aborter.none,
	content,
	content.length,
        {blobHTTPHeaders: {blobContentType: "text/html"}}
  );

Have you found a mitigation/solution?

None found.

J-tt commented

Issue unrelated to library, caused by a different factor.