property PutObjectOptions.contentType

MIME type recorded on the stored object (e.g. 'image/png'). Omitted leaves the backend's own default, which is application/octet-stream on every provider that supports the field.

Type

string

Usage

import { type PutObjectOptions } from "common/src/index.ts";