Posting failed: 441 Duplicate Content-Type: header / GMime 3 API
Detlef Graef <[email protected]> Sun, 28 Jun 2020 21:52:20 +0200
| Newsgroups | gmane.comp.gnome.apps.pan.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, when the current gitlab version of Pan-0.147 (00493444) is build with GMime3 lib I get the following error (Posting failed: 441 Duplicate Content-Type: header) as described here: https://gitlab.gnome.org/GNOME/pan/-/issues/114 The debug output shows two duplicate header fields: >--------------------------------- (socket-impl-openssl.cc:673:do_write) socket 0x7f314c001380 channel 0x7f314c0032a0 maybe wrote [From: D. Graef <[email protected]> Subject: Test Newsgroups: de.test Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 X-no-archive: yes User-Agent: Pan/0.147 (Sweet Solitude; 00493444 gitlab.gnome.org/GNOME/pan.git) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test Pan . ]; status was 1 >--------------------------------- Duplicate header fields: Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 The related code (function: new_message_from_ui) begins here: https://gitlab.gnome.org/GNOME/pan/-/blob/master/pan/gui/post-ui.cc#L1599 After a first look I don't know what's wrong, GMime 3 seems to be different here than GMime 2. Is someone familiar with the GMime 3 API? Best regards, Detlef _______________________________________________ Pan-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/pan-devel