Re: [gmime-devel] g_mime_object_get_header_list on first part in g_mime_message_foreach()?



On 7/14/2016 6:58 AM, Jeffrey Stedfast wrote:
On 7/14/2016 4:55 AM, Daniel Kahn Gillmor wrote: the g_mime_message_foreach() walk.
I don't quite understand what you mean by this...

What additional headers does it have that it "shouldn't"?
i mean the other way around -- the GMimeHeaderList extracted from the
object returned by g_mime_multipart_encrypted_decrypt() only has
content-type in it.  I think it *doesn't* have the additional headers
that i'd expect it to have.

Normally Content-* headers are the only headers used for MIME parts.

I thought GMime's parser only split the headers in the case where it was the top-level mime part of a GMimeMessage, though... so I thought this should works as expected.

If not, it's a bug.

It was a bug and is now fixed in git master.

Jeff


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]