Re: Full Headers?
- From: Peter Bloomfield <bloomfld eos ncsu edu>
- To: balsa microwave com
- Cc: Peter Bloomfield <bloomfld eos ncsu edu>,Pawel Salek <pawsa TheoChem kth se>, balsa-list gnome org
- Subject: Re: Full Headers?
- Date: Mon, 9 Jul 2001 14:11:58 -0400
On 2001.07.09 12:24 balsa@microwave.com wrote:
>
> Uhm.. what the heck does that do?
>
> How does adding something that says "NO-SUCH-HEADER" address this
> situation?
>
[snip]
>
> On Mon, 9 Jul 2001, Peter Bloomfield wrote:
> > --- balsa/libmutt/imap/message.c Wed May 23 16:42:46 2001
> > +++ balsa-imap-stuff/libmutt/imap/message.c Mon Jul 9 11:51:45
> 2001
> > @@ -61,8 +61,8 @@
> > /* define search string */
> > if (mutt_bit_isset (idata->capabilities,IMAP4REV1))
> > {
> > - snprintf (hdrreq, sizeof (hdrreq), "BODY.PEEK[HEADER.FIELDS
> (%s)]",
> > - want_headers);
> > + snprintf (hdrreq, sizeof (hdrreq),
> > + "BODY.PEEK[HEADER.FIELDS.NOT (NO-SUCH-HEADER)]");
> > }
> > else if (mutt_bit_isset (idata->capabilities,IMAP4))
> > {
> >
You're right, it should have been
> > + "BODY.PEEK[HEADER]");
I didn't read carefully enough in http://www.imc.org/rfc2060 !
(HEADER.FIELDS selects a subset of headers, HEADER.FIELDS.NOT excludes a
subset, and apparently HEADER just requests all headers.)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]