Ethereal-dev: Re: [Ethereal-dev] Are WSP content types the same as HTTP content types?

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 8 Dec 2003 01:24:11 -0800
On Sun, Dec 07, 2003 at 01:22:01PM +0100, Biot Olivier wrote:
> Agreed. However, there are TWO media dissector tables in WSP:
> - the literally represented media type table (e.g., "text/html")
> - the numerically represented media type table (e.g., 0x01)
> 
> We cannot get rid of the "numerical table", as some media types are only
> registered in this table.

Is that because there are some numerically-represented media types that
have no corresponding text-represented media types?

If not, perhaps those media types should be registered under their text
name as well; if that's done, would it make sense to have the WSP
dissector map the numerical media type to a text media type, and do
handoffs by looking up that media type in the "media_type" dissector
table?