[gmime-devel] Dumping of headers ignores mime-type
- From: Steve Kemp <steve steve org uk>
- To: gmime-devel-list gnome org
- Subject: [gmime-devel] Dumping of headers ignores mime-type
- Date: Fri, 1 Nov 2013 23:46:41 +0000
I've written a scratch program to dump all headers from
a message:
https://github.com/skx/lumail/blob/master/util/dump-headers.c
This seems to work, but crucially it doesn't show the MIME-Type
of the message:
shelob ~/git/lumail/util $ ./dump-headers
~/Maildir/.github.com/cur/1382702258.26372_2.ssh.steve.org.uk:2,S |grep -i type
Yet when I examine a message manually I see the expected headers
containing content-type:
shelob ~/git/lumail/util $ grep -i type ~/Maildir/.github.com/cur/1382702258.26372_2.ssh.steve.org.uk:2,S
Content-Type: multipart/alternative;
Content-Type: text/plain;
Content-Type: text/html;
Is there some trick to using g_mime_header_list_get_iter to avoid
skipping headers?
Steve
--
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]