Skip to content

Set Content-Type for images #21

@Alikont

Description

@Alikont

Hello,

Currently files are uploaded with header Content-Type: application/octet-stream, which is not ok for website images.

Browsers use content-type header to aid in caching.

createBlockBlobFromLocalFile call should accept CreateBlockBlobRequestOptions parameter, with contentSettings field containing additional content headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions