Hi Randall,
--On March 14, 2008 7:17:47 AM -0700 Randall Gellens <randy@xxxxxxxxxxxx>
wrote:
We were trying to maintain some level of similarity with ANNOTATE, and
also provide the client with a way to see the size before fetching
something.
Well ANNOTATE is only experimental and I'm not sure anyone (except perhaps
Ken @ CMU) has done anything with it. So limiting ourselves to ANNOTATE
syntax should not be a requirement IMHO.
As far as the size goes, we could easily add an option to GETMETADATA that
would allow a client to limit the size of data returned and add an option
to the response to indicate when a truncation has occurred, e.g.:
C: a GETMETADATA (MAXSIZE 1024) /comment
S: * METADATA (TRUNCATED 2048) /comment "My comment ...."
S: a OK GETMETADATA complete