Open
Description
Here is my sample code. Content type is not setting however I try.
BlockBlobClient blockBlobClient = blobContainerClient.getBlobClient("image.png").getBlockBlobClient();
blockBlobClient.setHttpHeaders(new BlobHttpHeaders().setContentType("image/png"));
BlobOutputStream blobOutputStream=null;
try {
blobOutputStream = blockBlobClient.getBlobOutputStream();
ByteArrayInputStream bis = new ByteArrayInputStream(inputStream.readAllBytes());
int next = bis.read();
while (next != -1) {
blobOutputStream.write(next);
next = bis.read();
}
}finally {
blobOutputStream.close();
}
Metadata
Metadata
Assignees
Labels
This issue points to a problem in the data-plane of the library.Storage Service (Queues, Blobs, Files)Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK teamThe issue doesn't require a change to the product in order to be resolved. Most issues start as that