Skip to content

DAVPropStat

export type DAVPropStat = {
props: Record<string, any>;
namespaces?: Record<string, string>;
status: number;
statusText: string;
ok: boolean;
error?: Record<string, any>;
responsedescription?: string;
};

Represents a single <d:propstat> group within a DAVResponse.

  • props — Normalized camelCase properties returned in this propstat block.
  • namespaces — Map from normalized property key to its resolved XML namespace URI.
  • status — Parsed HTTP status code for this property group (for example 200, 403, or 404).
  • statusText — HTTP status reason phrase (empty string when omitted by the server).
  • ok — true when status is in the 200–299 range.
  • error — Optional parsed <d:error> element if returned by the server.
  • responsedescription — Optional <d:responsedescription> text.