Re: [Sip] MESSAGE for rendering

Paul Kyzivat <pkyzivat@cisco.com> Sat, 15 December 2007 00:03 UTC

Return-path: <sip-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1J3KUw-0002YC-O5; Fri, 14 Dec 2007 19:03:18 -0500
Received: from sip by megatron.ietf.org with local (Exim 4.43) id 1J3KUv-0002Wg-OE for sip-confirm+ok@megatron.ietf.org; Fri, 14 Dec 2007 19:03:17 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1J3KUv-0002WY-D5 for sip@ietf.org; Fri, 14 Dec 2007 19:03:17 -0500
Received: from sj-iport-4.cisco.com ([171.68.10.86]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1J3KUu-00077Y-SE for sip@ietf.org; Fri, 14 Dec 2007 19:03:17 -0500
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-4.cisco.com with ESMTP; 14 Dec 2007 16:03:16 -0800
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id lBF03GS2003287; Fri, 14 Dec 2007 16:03:16 -0800
Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [64.102.31.12]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id lBF03B9N009244; Sat, 15 Dec 2007 00:03:11 GMT
Received: from xfe-rtp-202.amer.cisco.com ([64.102.31.21]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 14 Dec 2007 19:03:11 -0500
Received: from [161.44.174.118] ([161.44.174.118]) by xfe-rtp-202.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 14 Dec 2007 19:03:10 -0500
Message-ID: <476319BE.3050600@cisco.com>
Date: Fri, 14 Dec 2007 19:03:10 -0500
From: Paul Kyzivat <pkyzivat@cisco.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Hadriel Kaplan <HKaplan@acmepacket.com>
Subject: Re: [Sip] MESSAGE for rendering
References: <E6C2E8958BA59A4FB960963D475F7AC30273B2D97F@mail.acmepacket.com> <4762FB8B.2020308@cisco.com> <E6C2E8958BA59A4FB960963D475F7AC30273B2DF10@mail.acmepacket.com>
In-Reply-To: <E6C2E8958BA59A4FB960963D475F7AC30273B2DF10@mail.acmepacket.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 15 Dec 2007 00:03:10.0728 (UTC) FILETIME=[E11FC880:01C83EAD]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=3055; t=1197676996; x=1198540996; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=pkyzivat@cisco.com; z=From:=20Paul=20Kyzivat=20<pkyzivat@cisco.com> |Subject:=20Re=3A=20[Sip]=20MESSAGE=20for=20rendering |Sender:=20; bh=NxrrG5wbE+9LDcZJnPdKm4qcAS/FaRnMmofccspgvEg=; b=luo43aLqit3alRJPwdO4S++J/+7+UCDJ8ZxZIks+wtLMzkO0di1qFMwZG6 eSP1uZILvECqkR9cikU3BscteQmoaWWNNMSwDGG9wZSj32NNs/QdXn1lGYgL fv4LWOf5wM;
Authentication-Results: sj-dkim-3; header.From=pkyzivat@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 92df29fa99cf13e554b84c8374345c17
Cc: "sip@ietf.org" <sip@ietf.org>
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
Errors-To: sip-bounces@ietf.org


Hadriel Kaplan wrote:
> 
>> -----Original Message-----
>> From: Paul Kyzivat [mailto:pkyzivat@cisco.com]
>> Sent: Friday, December 14, 2007 4:54 PM
>> To: Hadriel Kaplan
>> Cc: sip@ietf.org
>> Subject: Re: [Sip] MESSAGE for rendering
>>
>> Hadriel,
>>
>> I am entirely with you if the *intent* of sending the vcard is to render
>> it to the user in some human readable way. Its hardly any different from
>> sending HTML.
>>
>> Its much more questionable if the intent is that the vcard be filed in
>> the recipients address book without being rendered.
>>
>> Even so, I think it is an open question whether content-dispositions
>> other than "render" are valid with MESSAGE. And if so, which ones?
> 
> I guess the question is if "render" is synonymous with "inline", as 3261 sounds like it is? 

I'm not very well informed of MIME, but I question whether "render" is 
synononymous with "inline". Rather I suspect "render" was chosen because 
"inline" didn't make sense for SIP.

My impression is that with mail "inline" is used for "extra" body parts 
to indicate that they should be rendered "inline" with the rendering of 
the overall message, which makes sense since for mail the expectation is 
that the overall message *is* being rendered. So the headers of the 
message are rendered (usually not literally, but rather in a pretty 
way), and the body parts marked inline are rendered inline with that.

In the case of sip, the overall message is *not* being rendered, at 
least not in the case of INVITE. (At the time this was being defined 
MESSAGE wasn't in the picture.)

If "render" were used with a body part in an invite, then I think it 
makes sense to expect that the UA goes out of its way to present it to 
the user of the device in some way - unusual because most invites don't 
have this.

If somebody had thought about it at the time, MESSAGE should probably 
have been handled just like mail, using "inline" and "attachment", etc. 
But I guess for purposes of MESSAGE we might be able to treat inline and 
render as synonymous.

> If so, then I think you're right "render" is wrong.  How is it done in email?  I think content-disposition "attachment" vs. inline.  So yeah, the question is if MESSAGE can handle non-render ones.  (clearly "session" would NOT be valid :)

Attachment could be good for a vcard in a MESSAGE. But it might be a bit 
strange without also having an inline or render part as well. (Just as 
it would be strange to get an email that only had "attachment" parts - 
there is nothing to attach them to.)

So you might have a MESSAGE that says: "Here is my vcard." and has the 
vcard as an attachment.

	Paul

> -hadriel
> 
> 
> _______________________________________________
> Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
> This list is for NEW development of the core SIP Protocol
> Use sip-implementors@cs.columbia.edu for questions on current sip
> Use sipping@ietf.org for new developments on the application of sip
> 


_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip