Re: [Uta] CBOR, XML, JSON (was Re: Updated SMTP STS Draft)

"John Levine" <johnl@taugh.com> Thu, 05 May 2016 19:12 UTC

Return-Path: <johnl@taugh.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 424E312D5A5 for <uta@ietfa.amsl.com>; Thu, 5 May 2016 12:12:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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 hrOCH2dExSzm for <uta@ietfa.amsl.com>; Thu, 5 May 2016 12:12:43 -0700 (PDT)
Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 02DC912D53E for <uta@ietf.org>; Thu, 5 May 2016 12:12:42 -0700 (PDT)
Received: (qmail 33493 invoked from network); 5 May 2016 19:12:41 -0000
Received: from unknown (64.57.183.18) by mail1.iecc.com with QMQP; 5 May 2016 19:12:41 -0000
Date: Thu, 05 May 2016 19:12:19 -0000
Message-ID: <20160505191219.27821.qmail@ary.lan>
From: John Levine <johnl@taugh.com>
To: uta@ietf.org
In-Reply-To: <CANtKdUeeX_XtoEWuysv2zkUb+YUyfH4LFNd7nzj23nw_MPxnWg@mail.gmail.com>
Organization:
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/1jvdc9OCQ_gHebcTE6wAh0zmbAA>
Cc: dmargolis@google.com
Subject: Re: [Uta] CBOR, XML, JSON (was Re: Updated SMTP STS Draft)
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 May 2016 19:12:45 -0000

> * In the case of `https`, reports should be submitted via POST
>>    ([@!RFC2818]) to the specified URI.

By the way, that's somewhat underspecified.

While the http specs say it's OK to do a POST with an arbitrary MIME
type such as application/json or application/gzip, the web apps I know
all expect the POST body to be multipart/form-data.

If you just want to send the blob of JSON, PUT with an appropriate
filename would be more appropriate.

R's,
John