putRaw

suspend fun putRaw(webId: String, uri: String, contentType: String, body: ByteArray, ifMatch: String? = null, linkHeader: String? = null)

PUTs an opaque body to uri.

Parameters

ifMatch

null → unconditional; "*" → the resource must already exist; an ETag → optimistic concurrency (fails with 412 if it changed since you read it).