From: Bijan Soleymani <bijan@psq.com>
Subject: Re: check for a particular header before calling a washing function?
Date: 07 Dec 2002 03:01:25 -0500 [thread overview]
Message-ID: <87of7yfeay.fsf@server.crasseux.com> (raw)
In-Reply-To: <877kemocp2.fsf@nybo.no>
chr@nybo.no (Christian Nybø) writes:
> If the header "Content-Type: text/plain; charset=utf-8" is present, I
> want to call a washing function that translates from utf-8 to latin-1.
> The function is ready, but where do I hook the test in?
> --
> chr
There is some stuff about how to access the information in the header,
in the gnus info manual under the "headers" section. According to the
documentation there are functions for accessing each field.
However there are only 9 fields defined, with the last one being
extra. I'm guessing that they split off the relevant info and put it
in the 8 first slots and the remaining stuff goes in extra. Probably
everything you're looking for would go in extra.
Bijan
next parent reply other threads:[~2002-12-07 8:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <877kemocp2.fsf@nybo.no>
2002-12-07 8:01 ` Bijan Soleymani [this message]
[not found] ` <84n0nirlfi.fsf@lucy.cs.uni-dortmund.de>
[not found] ` <87vg25mz2u.fsf@nybo.no>
[not found] ` <847kelpkhj.fsf@lucy.cs.uni-dortmund.de>
2002-12-07 22:59 ` Christian Nybø
[not found] ` <84r8cs8p9e.fsf@lucy.cs.uni-dortmund.de>
2002-12-09 22:54 ` Christian Nybø
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87of7yfeay.fsf@server.crasseux.com \
--to=bijan@psq.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).