Question about bodystructure answer on cyrus 2.2.13 (debian etch)

Bron Gondwana brong at fastmail.fm
Tue Sep 30 19:32:51 EDT 2008


On Tue, Sep 30, 2008 at 11:10:27PM +0200, Thomas Cataldo wrote:
> NIL)("MESSAGE" "RFC822" ("NAME*" {147}
> ISO-8859-1''%6A%27%61%69%20%6C%61%6E%63%E9%20%75%6E%65%20%67%72%6F%73%73%65%20%69%6D%70%72%65%73%73%69%6F%6E%20%73%75%72%20%4C%50%32%33%30%30%52%56)
> NIL NIL "8BIT" 1544 ("Wed, 14 Feb 2007 10:12:39 +0100" "j'ai

> My problem is in the response to the body structure request : cyrus
> tells me he will send me 147 bytes and my lib can deal with that. The
> problem is, the data sent by cyrus is way longer than 147 bytes... can
> someone point me to what I misunderstood ?

The "147" bytes is this bit here:
ISO-8859-1''%6A%27%61%69%20%6C%61%6E%63%E9%20%75%6E%65%20%67%72%6F%73%73%65%20%69%6D%70%72%65%73%73%69%6F%6E%20%73%75%72%20%4C%50%32%33%30%30%52%56

Which is just one "ATOM".  All the stuff after this is other ATOMs,
which aren't part of the 147 bytes.  You can easily get multiple
ATOMs in a single response encoded in this way.

Bron.


More information about the Info-cyrus mailing list