Content-Type doesn't work. See the draft itself or Message-Context RFC.
On Dec 1, 2008, at 2:52 PM, Christer Holmberg wrote:
Hi,Wrong because there is no explicit linking of a body part to what thatbody part belongs to.Content-Disposition is absolutely the wrong thing. The originalContent-Disposition is about whether you wait for the whole message to arrive before rendering, and if you render the part where you findit or as an attachment. SIP has bent this totally out of shape beyondrecognition, almost to the point where it really is Message-Context.Perhaps that is the answer? Do-as-I-say (Message-Context), not Do- as-I-mean (Content-Disposition)? So, maybe we should use Content-Type, then? Regards, ChristerWrong where/what/how?-----Original Message-----From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf OfEric Burger Sent: 1. joulukuuta 2008 16:13 To: Hadriel Kaplan Cc: SIP List Subject: Re: [Sip] Multiple body-parts in one INFO Just because everyone else got it wrong does not mean we have to be wrong, too... On Dec 1, 2008, at 6:14 AM, Christer Holmberg wrote:Hi,Sounds ok. But, doesn't the Info-Package header syntax still have toallow thepiggy-backer to: 1) List multiple info packages 2) For each listed info package, provide the cidNope. We've already said we're going to not bother doing multiple packages. (or at least I think people have agreed withthat, I hope)So the next question was on multiple body-parts.I still want to see why we, if we are going to allow multiple body parts, can't allow multiple info packages, but let's leavethat for amoment...Since INVITE, UPDATE, PRACK, SUBSCRIBE/NOTIFY, MESSAGE, and legacyINFO, can all carry bodies and not one ofthem defined a CID mechanism for the body part that was specific totheir message method context, we shouldn't needto for INFO either.Yes. And, if we are going to use CID, it means yet another RFC to support. What's wrong with using Content-Disposition?A "piggy-backer" is an extension to SIP that piggy-backsbodies ontoany message method types. Geolocation is an example ofone. Sinceit's the responsibility of the piggy-backer to handleidentifying itsspecific body-part and dis-ambiguating it from themethod's, we don'thave to do anything. In other words, Geolocation wouldalready haveto deal with current INFO message and body syntax. For example, let's suppose someone creates an INFO package for sending virtual location information in a game, using acontent-typeof application/pidf+xml. (whether they should have done it in SIP vs. the media layer is orthogonal) And let's suppose for whatever reason the SIP stack always adds Geolocation informationof the UA'sphysical location. Here is what it would look like:But, what if the information the piggy-backer wants to sendalso usesinfo packages? Regards, Christer _______________________________________________ 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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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
