[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sip] INFO Framework - one pakage per INFO
- To: Dean Willis <dean.willis at softarmor.com>
- Subject: Re: [Sip] INFO Framework - one pakage per INFO
- From: Hadriel Kaplan <HKaplan at acmepacket.com>
- Date: Wed, 10 Dec 2008 02:30:20 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
- Cc: SIP List <SIP at ietf.org>, Kyzivat <pkyzivat at cisco.com>, "DRAGE, Keith (Keith)" <drage at alcatel-lucent.com>, "Elwell, John" <john.elwell at siemens.com>, Christer Holmberg <christer.holmberg at ericsson.com>, Paul at core3.amsl.com
- Delivered-to: ietfarch-sip-web-archive at core3.amsl.com
- Delivered-to: sip at core3.amsl.com
- In-reply-to: <1C88DF15-A365-432E-A375-EE112CA21701 at softarmor.com>
- List-help: <mailto:sip-request@ietf.org?subject=help>
- List-id: Session Initiation Protocol <sip.ietf.org>
- List-post: <mailto:sip@ietf.org>
- List-subscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
- List-unsubscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
- References: 8A6A762007F5D001560B18 at GBNTHT12009MSX.gb002.siemens.net><E6C2E8958BA59A4FB960963D475F7AC3137F290B3C at mail><28B7C3AA2A7ABA4A841F11217ABE78D674743C9B at FRMRSSXCHMBSB3.dc-m.alcatel-lucent.com><E6C2E8958BA59A4FB960963D475F7AC3137FA124A5 at mail> <CA9998CD4A020D418654FCDEF4E707DF09BBD2A3 at esealmw113.eemea.ericsson.se> <68367825453443BC9EB23F5C535181C9 at Codalogic> <CA9998CD4A020D418654FCDEF4E707DF09BBD4EB at esealmw113.eemea.ericsson.se> <C405813E697143F9845A0DD2DEA1EFFF at Codalogic> <E6C2E8958BA59A4FB960963D475F7AC3137FA12F18 at mail> <8F5AA18C-B07C-4AE9-8B2F-6CC8A19E2BDA at softarmor.com> <E6C2E8958BA59A4FB960963D475F7AC3137FA13467 at mail> <493F05BD.4060201 at cisco.com> <64A0A9B8-CE76-4677-8EDF-CABEC788D990 at softarmor.com> <E6C2E8958BA59A4FB960963D475F7AC3137FAFFE0D at mail> <52D3B73D-EB78-48E4-BC8A-6ED7316895B0 at softarmor.com> <E6C2E8958BA59A4FB960963D475F7AC3137FAFFE44 at mail> <1C88DF15-A365-432E-A375-EE112CA21701 at softarmor.com>
- Sender: sip-bounces at ietf.org
- Thread-index: AclalPnccaNV0g5XQaSbOZmWzLp7KwAAGt9A
- Thread-topic: [Sip] INFO Framework - one pakage per INFO
> -----Original Message-----
> From: Dean Willis [mailto:dean.willis at softarmor.com]
> Sent: Wednesday, December 10, 2008 2:02 AM
>
> I'm worried that people are going to take this as evidence that the
> SIP Stack SHOULD go to great lengths to validate content. For example,
> are we going to require every SIP UA have HTTP so that it can retrieve
> XML schemae, and an XML validtory to check body parts with, and then
> validate every XML body part before handing it ti the application?
> What response code should SIP send if a body part un-MIMEs ok, but the
> SIP UA can't find the schema needed to validate the body? What if some
> application data used invalid XML in his body?
>
> I'd really rather not have this as protocol considerations for SIP.
> The SIP stack has to be able to pull the content out of its (possibly
> multipart) MIME wrapper. If the MIME wrapping is good and there's an
> application to hand the payload off to, I think SIP should be happy to
> send a 200 OK.
Of course it should. I think you're missing the point (or I'm missing yours) - there's no debate that we have to allow a SIP request with valid SIP-layer stuff and valid mime wrapper and all be responded to with a 200 ok. Or at least I'm not debating that. It would be silly to mandate a SIP stack to do any more than that. But I also think we really shouldn't explicitly disallow me to send you back a 4xx. It's a non-sequitur. I can send a 4xx anyway, and as long as the resultant behavior is the same, who's the wiser? I have really not delivered it to an app-layer; there is no recovering from this condition (it's not like you can programmatically re-format it and hope this time I understand it); and whatever action you take due to a delivery-failure is really the right action to take in this case too.
I think your point is that we shouldn't explicitly point this out, for fear of people thinking they need to do it? So that rules out creating a new specific response code for it, and just letting 415 or 400 cover that case. (that's essentially what all the other SIP specs do too - don't mention it, leave it implementation specific) I don't see people having interop issues with it so that's fine, though it makes troubleshooting a bit more laborious.
-hadriel
_______________________________________________
Sip mailing list https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors at cs.columbia.edu for questions on current sip
Use sipping at ietf.org for new developments on the application of sip