head

suspend fun head(webId: String, resourceUrl: String): SolidMetadata

Fetches only the HTTP headers for the resource at resourceUrl via HTTP HEAD.

Returns SolidMetadata with ETag, Content-Type, Content-Length, WAC-Allow, Allow, Link relations (acl, describedby, type, storageDescription), Accept-Patch/Post/Put, Last-Modified, and WWW-Authenticate — with no body transfer.

Throws

on failure.