Re: If not JSON, what then ?

Nicolas Mailhot <nicolas.mailhot@laposte.net> Mon, 01 August 2016 10:46 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DD0C12D5F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 1 Aug 2016 03:46:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.307
X-Spam-Level:
X-Spam-Status: No, score=-8.307 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=laposte.net
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 BEClCKcWE0od for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 1 Aug 2016 03:46:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3BE712D5DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 1 Aug 2016 03:46:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bUAfw-0001dM-6i for ietf-http-wg-dist@listhub.w3.org; Mon, 01 Aug 2016 10:42:24 +0000
Resent-Date: Mon, 01 Aug 2016 10:42:24 +0000
Resent-Message-Id: <E1bUAfw-0001dM-6i@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <nicolas.mailhot@laposte.net>) id 1bUAfr-0001bw-Gj for ietf-http-wg@listhub.w3.org; Mon, 01 Aug 2016 10:42:19 +0000
Received: from smtpoutz27.laposte.net ([194.117.213.102] helo=smtp.laposte.net) by maggie.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <nicolas.mailhot@laposte.net>) id 1bUAfg-0001d6-VB for ietf-http-wg@w3.org; Mon, 01 Aug 2016 10:42:17 +0000
Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout015 (Postfix) with ESMTP id 130241C8A47 for <ietf-http-wg@w3.org>; Mon, 1 Aug 2016 12:41:44 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail0; t=1470048104; bh=gvbOIQGdei1G3M9b1P1akjU9VYgIzhDMxPI4qU08ZRI=; h=In-Reply-To:References:Subject:From:Date:To; b=CdHex8tTC8zb7RnShDX8ueuSMoORAtov4EMCFReMGG90XQ0l2CT4nZFkl3jUazp6x K8YDtbE5nuxW5KAkXj63XJOMEScpPxGMXdILfre+2FFTeKUk/YVRye27YMuca5WcTD RnpS3Mf7VsImgECrkumbOyzCHOLRuttPVnd+LmdC5wxlknac+9jMgQruuekGXk8oHq JHy/9dlSlhN/gjQWqMba4oCrQuAKC04f8pE6DlANnFfG5O6Zrk8spfFzSkZ30yP9Dr 4otbGYLNJGhcyDKHflwYu+A2TPBwIX3G8cfbBWk5GoNVrm19UyEpR6dfqdDsOW4EnA VhtzWW5JPHwRA==
Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout015 (Postfix) with ESMTP id 054101C8A6C for <ietf-http-wg@w3.org>; Mon, 1 Aug 2016 12:41:44 +0200 (CEST)
Received: from lpn-prd-vrin001 (lpn-prd-vrin001.laposte [10.128.63.2]) by lpn-prd-vrout015 (Postfix) with ESMTP id 007BA1C8A47 for <ietf-http-wg@w3.org>; Mon, 1 Aug 2016 12:41:44 +0200 (CEST)
Received: from lpn-prd-vrin001 (localhost [127.0.0.1]) by lpn-prd-vrin001 (Postfix) with ESMTP id DE155366A75 for <ietf-http-wg@w3.org>; Mon, 1 Aug 2016 12:41:43 +0200 (CEST)
Received: from [192.168.2.67] (84.188.67.86.rev.sfr.net [86.67.188.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lpn-prd-vrin001 (Postfix) with ESMTPSA id D18C6366A80; Mon, 1 Aug 2016 12:41:42 +0200 (CEST)
In-Reply-To: <77778.1470037414@critter.freebsd.dk>
References: <77778.1470037414@critter.freebsd.dk>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----SSFKS0Y11VR7T745V09VG1NN122S9R"
Content-Transfer-Encoding: 8bit
From: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Date: Mon, 01 Aug 2016 10:41:41 +0000
To: Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <7B76F00B-2CAF-42A4-B09C-FA0748A4D025@laposte.net>
X-VR-SrcIP: 86.67.188.84
X-VR-FullState: 0
X-VR-Score: 0
X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrfeeltddrjeehgdeftdcutefuodetggdotefrodftvfcurfhrohhf
X-VR-Cause-2: ihhlvgemucfntefrqffuvffgnecuuegrihhlohhuthemucehtddtnecunecujfgurhepjghfgggtgffu
X-VR-Cause-3: hfffvffksegrkehmredttdejnecuhfhrohhmpefpihgtohhlrghsucforghilhhhohhtuceonhhitgho
X-VR-Cause-4: lhgrshdrmhgrihhlhhhotheslhgrphhoshhtvgdrnhgvtheqnecukfhppeekiedrieejrddukeekrdek
X-VR-Cause-5: geenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopegludelvddrudeikedrvddrieej
X-VR-Cause-6: ngdpihhnvghtpeekiedrieejrddukeekrdekgedpmhgrihhlfhhrohhmpehnihgtohhlrghsrdhmrghi
X-VR-Cause-7: lhhhohhtsehlrghpohhsthgvrdhnvghtpdhrtghpthhtohepihgvthhfqdhhthhtphdqfihgseiffedr
X-VR-Cause-8: ohhrgh
X-VR-AvState: No
X-VR-State: 0
X-VR-State: 0
Received-SPF: pass client-ip=194.117.213.102; envelope-from=nicolas.mailhot@laposte.net; helo=smtp.laposte.net
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.245, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bUAfg-0001d6-VB c21076729533afcff65fef67763c07a5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: If not JSON, what then ?
Archived-At: <http://www.w3.org/mid/7B76F00B-2CAF-42A4-B09C-FA0748A4D025@laposte.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32112
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

IMHO it would be way simpler to specify that the dicts used in http are ordered rather than invent another representation

Anyway, please do not use < or > web people have enough tag soup problems in html (that Will be used with http)

If you're ready to invent binary représentations it's way simple to specify utf8 as encoding than fall again on multiple encoding trap which instead of helping anyone means everyone is incompatible with everyone else in subtle way

Finaly , is hostile to everyone that writes numbers unlike the USA
-- 
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.