Re: [apps-discuss] Question regarding RFC 7303
ht@inf.ed.ac.uk (Henry S. Thompson) Tue, 12 July 2016 09:11 UTC
Return-Path: <ht@inf.ed.ac.uk>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B01E12D755 for <apps-discuss@ietfa.amsl.com>; Tue, 12 Jul 2016 02:11:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.508
X-Spam-Level:
X-Spam-Status: No, score=-5.508 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BGnJ5tggHfs0 for <apps-discuss@ietfa.amsl.com>; Tue, 12 Jul 2016 02:11:40 -0700 (PDT)
Received: from treacle.ucs.ed.ac.uk (treacle.ucs.ed.ac.uk [129.215.16.102]) by ietfa.amsl.com (Postfix) with ESMTP id 9DE5112D752 for <apps-discuss@ietf.org>; Tue, 12 Jul 2016 02:11:39 -0700 (PDT)
Received: from crunchie.inf.ed.ac.uk (crunchie.inf.ed.ac.uk [129.215.33.180]) by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id u6C9BW83021633; Tue, 12 Jul 2016 10:11:32 +0100 (BST)
Received: from troutbeck.inf.ed.ac.uk (troutbeck.inf.ed.ac.uk [129.215.25.32]) by crunchie.inf.ed.ac.uk (8.14.4/8.14.4) with ESMTP id u6C9BX9t030710; Tue, 12 Jul 2016 10:11:33 +0100
Received: from troutbeck.inf.ed.ac.uk (localhost [127.0.0.1]) by troutbeck.inf.ed.ac.uk (8.14.7/8.14.7) with ESMTP id u6C9BWSH031544; Tue, 12 Jul 2016 10:11:32 +0100
Received: (from ht@localhost) by troutbeck.inf.ed.ac.uk (8.14.7/8.14.7/Submit) id u6C9BWWw031543; Tue, 12 Jul 2016 10:11:32 +0100
X-Authentication-Warning: troutbeck.inf.ed.ac.uk: ht set sender to ht@inf.ed.ac.uk using -f
To: Stefan Cordes <stefan.cordes@canda.com>
References: <OFD07488E0.FAA41B38-ONC1257FED.0023B49B-C1257FED.00255F92@retail-sc.com>
From: ht@inf.ed.ac.uk
Date: Tue, 12 Jul 2016 10:11:31 +0100
In-Reply-To: <OFD07488E0.FAA41B38-ONC1257FED.0023B49B-C1257FED.00255F92@retail-sc.com> (Stefan Cordes's message of "Mon\, 11 Jul 2016 08\:48\:12 +0200")
Message-ID: <f5b37nfcjb0.fsf@troutbeck.inf.ed.ac.uk>
User-Agent: Gnus/5.1012 (Gnus v5.10.12) XEmacs/21.5-b34 (linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-Scanned-By: MIMEDefang 2.60 on 129.215.16.102
Archived-At: <https://mailarchive.ietf.org/arch/msg/apps-discuss/0wfuYReAaxi_XxeGxfPNevlJjLg>
Cc: svacas <notifications@github.com>, apps-discuss@ietf.org
Subject: Re: [apps-discuss] Question regarding RFC 7303
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2016 09:11:42 -0000
Stefan Cordes writes: > Hi, > with https://github.com/mulesoft/apikit/pull/88#issuecomment-231617946 > we came in some discussions about > > https://tools.ietf.org/html/rfc7303#section-3.2 > > where sometimes the "MIME Content-Type header" is ignored ( > https://tools.ietf.org/html/rfc7303#section-8.9 ) > and sometimes the "XML encoding declaration" is ignored ( > https://tools.ietf.org/html/rfc7303#section-8.8 ) Yes, it's complicated and not completely ideal. > Sounds to me a little bit unclear: > > Transport does not touch characters in the body in case a "BOM" is > available? > Transport converts all characters in the body to "MIME Content-Type" when > receiving ? Not sure what you mean by 'transport' here... > Especially scenario 8.8 https://tools.ietf.org/html/rfc7303#section-8.8 > seems not to work, as > base64 transport does not change anything in the xml-body and gives all > the characters as they were sent into the DocumentBuilder.parse(...). > > > So in my point of view the "MIME Content-Type header" should be ignored in > all cases for "application/xml". Could you be a bit more specific as to what your actual question is? Thanks, ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam]
- Re: [apps-discuss] Question regarding RFC 7303 Stefan Cordes
- Re: [apps-discuss] Question regarding RFC 7303 Henry S. Thompson
- [apps-discuss] Question regarding RFC 7303 Stefan Cordes