Re: draft-ietf-sip-info-events-00: Content-Type vs Info-Package [was RE: draft-ietf-sip-info-events-00: multiple packages per INFO]

Dean Willis <[email protected]>
Newsgroups gmane.ietf.sip
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.