SolidMetadata
Solid-specific metadata extracted from HTTP response headers for a resource retrieved from a Solid server.
Each field corresponds to a header defined by the Solid Protocol or a spec it builds on:
aclUri — Solid Protocol auxiliary resources:
Link: rel="acl"storageDescriptionUri — Solid Protocol:
Link: rel="storageDescription"ownerUri — Solid Protocol:
Link: rel="solid:owner"wacAllow — Web Access Control:
WAC-AllowheaderallowedMethods — HTTP + Solid Protocol:
AllowheaderlinkTypes — LDP + Solid Protocol:
Link: rel="type"headeretag — HTTP:
ETagheaderoidcIssuerUri — Solid-OIDC:
Link: rel="solid:oidcIssuer"isStorage — Solid Protocol: derived from
Link: rel="type" <pim:Storage>
The packaging of these fields into a single class is an implementation convenience and is not defined by any Solid spec.
Constructors
Properties
Media types accepted for PATCH requests. From Accept-Patch header.
Media types accepted for POST requests. From Accept-Post header.
HTTP methods the server accepts for this resource. From Allow header.
Size of the resource body in bytes. From Content-Length header. -1 if absent.
Media type of the resource. From Content-Type header.
URI of the resource that describes this resource. From Link: rel="describedby".
Last-Modified timestamp string. From Last-Modified header.
OIDC issuer URI for this resource or WebID. From Link: <iri>; rel="http://www.w3.org/ns/solid/terms#oidcIssuer". Spec: https://solidproject.org/TR/oidc
URI of the storage description resource. From Link: rel="storageDescription".
WWW-Authenticate challenge. From WWW-Authenticate header. Present on 401 responses.