![]()
From: Daniel Stenberg (daniel@haxx.se)
Date: Fri Nov 02 2001 - 16:03:14 CST
On Fri, 2 Nov 2001, Peter C. McCluskey wrote:
> Did you intend that the last type listed in the prefered_types option
> list should be the most preferred? It would work that way if the ">" on
> line 116 of parse.c were changed to "<". That change would be an easy way
> to make the prefered_types option useful for messages that include a
> text/plain type. It's unclear to me whether it would alter any behavior
> that people are currently relying upon.
Hm, I did not write the code that does this "weighting". This has been
introduced afterwards. From what I can see, the logic is flawed and shows no
understanding to how multipart/alternative mails are constructed and how the
code uses this function.
(This is not meant to be criticism of the person who actually wrote this, I
just think this is wrong.)
--
Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
![]()