Skip to main content

ContentPutOptions

@webda/core


Interface: ContentPutOptions

Defined in: packages/utils/lib/content.d.ts:3

Properties​

contentLength?​

optional contentLength?: number

Defined in: packages/utils/lib/content.d.ts:9

Expected content length in bytes


contentType?​

optional contentType?: string

Defined in: packages/utils/lib/content.d.ts:5

MIME content type, defaults to lookup from key extension or application/octet-stream


ifNotExists?​

optional ifNotExists?: boolean

Defined in: packages/utils/lib/content.d.ts:11

Fail with ContentExistsError when the target key already exists


metadata?​

optional metadata?: Record<string, string>

Defined in: packages/utils/lib/content.d.ts:7

Custom key-value metadata headers