Ethereal-dev: Re: [Ethereal-dev] New dissector for content type multipart/mixed

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Sat, 10 Jan 2004 01:26:31 +0100
That's a good idea.

I'd also like to have multipart/related (and other multipart types) in this
dissector. For this reason, maybe the dissector could be called
"packet-multipart-media.c" in which all multipart dissectors are grouped
(they don't really differ a lot).

I will soon add a generic line-based text dissector (a copy of the
message/http dissector I checked in earlier today). That will help testing
the multipart dissection :)

Regards,

Olivier
----- Original Message ----- 
From: "Guy Harris"

On Jan 9, 2004, at 3:54 PM, Olivier Biot wrote:

> Your dissector also applies to HTTP (except for the short header field
> names as is customary in SIP). Maybe we should add dissect_from_sip()
> and dissect_from_http() methods, and then let them have dedicated
> is_multipart_http_header() and is_multipart_sip_header() methods?

Or just a Boolean to specify whether short header field names should be
accepted?

That should perhaps be passed to media-type dissectors via the
private_data structure.