On Oct 23, 2008, at 12:59 PM, Christer Holmberg wrote:

Hi,

Shouldn't we use Content-Type to indicate what is in the message body?
After all, we may need Content-Length etc.

Ah, no.

We had extended conversations on this earlier. Content-Type tells you what's in the body; it just doesn't tell you what to DO with the body.

What, for example, is the purpose of an image/jpeg in an INFO?

That is not what I meant.

We can use the Info-Package header, but can't we use a generic mime value - which tells us that there is an info package in the body.


Nope. Not only might you have multiple bodies per INFO, you might have several different MIME types that might be usable with a given info- package.

For example, an image push app might use image/jpeg, image/gif, image/ raw, etc. The package defines which type or types are allowed.

--
Dean


_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [EMAIL PROTECTED] for questions on current sip
Use [EMAIL PROTECTED] for new developments on the application of sip

Reply via email to