Re: GET / DELETE request bodies

Roberto Polli <roberto@teamdigitale.governo.it> Tue, 18 February 2020 22:37 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 DA7FE120830 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Feb 2020 14:37:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 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.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=teamdigitale.governo.it
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 rqMvG4V57wMt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Feb 2020 14:37:48 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6F51F120145 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 18 Feb 2020 14:37:48 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1j4BRm-00045p-KX for ietf-http-wg-dist@listhub.w3.org; Tue, 18 Feb 2020 22:34:30 +0000
Resent-Date: Tue, 18 Feb 2020 22:34:30 +0000
Resent-Message-Id: <E1j4BRm-00045p-KX@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <roberto@teamdigitale.governo.it>) id 1j4BRh-00044W-0w for ietf-http-wg@listhub.w3.org; Tue, 18 Feb 2020 22:34:25 +0000
Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <roberto@teamdigitale.governo.it>) id 1j4BRf-0003ts-7J for ietf-http-wg@w3.org; Tue, 18 Feb 2020 22:34:24 +0000
Received: by mail-lf1-x132.google.com with SMTP id z5so691036lfd.12 for <ietf-http-wg@w3.org>; Tue, 18 Feb 2020 14:34:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=teamdigitale.governo.it; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XhdCrlahmEzm6Mvpu/fkFPgpOpurfINTct2tG2pzL1s=; b=Xlh/cLk7oAiqqi4JbqPDkQopXKkfF93+xIQxVQUuM7NU4oyWt0ynMefuqnSjGvUxey i/FlCW7zYiV8XkKSOp5CMDyTwTelG+dDAtXmK93/OhrMfj6lKc4rSA9x443VVQneqMLX 3aFAUHsvfKMyAoRJjQY1kE0Y+Q69bVqwLCipPLvJazsb1ipn0qSCf0ZuDfbgeCcx4RhM trwkJx89d3ZDgaVSYaVZTjoTdgKT7sJd5mPkP2eOeNEs5/Pfr6Ywz2HGfNj4p79p8BV0 hp1wEwKFiswkhEnZ6o1HUPAFoQh1Yh4Xh4BZN7/FF8JCdZAUcNUnMKonuoOif2aPtOaX w2ZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XhdCrlahmEzm6Mvpu/fkFPgpOpurfINTct2tG2pzL1s=; b=gpQVEu6AGiXFsp7rYxQtLixIJ4HTNkayFJyVaRKOq7862dD5/yfTio16rwhLiRPWT9 HwLauesXnVC93Qd01Vff1hyYMzKrD+U2MCkboYZZAMMG51DmC3G1I2tFGHJwjY0xaMXi 38kpjR7vObdSP6gbXV/ke8aPtRC0by1Eeo9tPid51XuxXJsQLJNBd/PgfbNfsJDql3J3 ZRq+uenu5cVEmHflrM36oM5DhwuPfC3+OCvZ8sC36JE8qSR0AUBPly4hdyQPNb8ZXxhj Eq8nLv6+ZPdjc/vtWwPvKmzFv8gGaRjwCl7MmZhPR+Pr3UTynlc2QiYaXs6wx4d5Xw8d H1Aw==
X-Gm-Message-State: APjAAAU6w5PqM1l0U8tDBDiM2KNfxvx13O4ikNblSl1dHqXmIt8O//ze eR0xI5uwJ6bxgvDGYGN4pq517fwJ2xMzxPmdtxbNpA==
X-Google-Smtp-Source: APXvYqzqIc9AQH8drpXW3j3en3p6oJKzAav3zajl/yjvfmCxDoNqDEG3JY6RyMwa8pSSVL2Y1XGkPOBJQUPnfy/u45U=
X-Received: by 2002:ac2:5467:: with SMTP id e7mr10990465lfn.74.1582065249990; Tue, 18 Feb 2020 14:34:09 -0800 (PST)
MIME-Version: 1.0
References: <CAChr6SyZN4ceSeHkfQVnKRX7=RPnKjX_vAsL1mTHs18-MKRphQ@mail.gmail.com> <CAH_hAJEdM+NeVKAwEC+8uQf_0Dv-ArEtetuSoOW3wcV9WMeMZw@mail.gmail.com> <22665322-3F2B-4B2A-AE8F-91A53DE75B9E@gbiv.com> <CAChr6SxrRBZcSttRgtb09wYZ8H=CoOy4VZUOtUhkgjdxF31CpQ@mail.gmail.com>
In-Reply-To: <CAChr6SxrRBZcSttRgtb09wYZ8H=CoOy4VZUOtUhkgjdxF31CpQ@mail.gmail.com>
From: Roberto Polli <roberto@teamdigitale.governo.it>
Date: Tue, 18 Feb 2020 23:33:58 +0100
Message-ID: <CAMRHeuy5UYSOzTQTO4kJgF6acuQj9NzyrmCai=gp0hSLPdsOtw@mail.gmail.com>
To: Rob Sayre <sayrer@gmail.com>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Cory Benfield <cory@lukasa.co.uk>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000003cccaf059ee14584"
Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=roberto@teamdigitale.governo.it; helo=mail-lf1-x132.google.com
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1j4BRf-0003ts-7J 32ba47057a0e3c18fbd0e91428f3d67e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: GET / DELETE request bodies
Archived-At: <https://www.w3.org/mid/CAMRHeuy5UYSOzTQTO4kJgF6acuQj9NzyrmCai=gp0hSLPdsOtw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37368
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Dear all,



Il mar 18 feb 2020, 21:38 Rob Sayre <sayrer@gmail.com> ha scritto:

> On Mon, Feb 17, 2020 at 10:44 AM Roy T. Fielding <fielding@gbiv.com>
> wrote:
>
>>
>> They have no semantics in the sense that a body cannot change the meaning
>> of a received request. They are absolutely forbidden to have any impact
>> whatsoever on the processing or interpretation of the request aside from
>> the necessity to read and discard the bytes received in order to maintain
>> the message framing. The only reason we didn't forbid sending a body is
>> because that would lead to lazy implementations assuming no body would
>> be sent.
>>
>
> This text on message framing seems clearer to me than what's in the draft,
> but vague references to "semantics" in web specs drive me nuts. Maybe no
> one else cares. :)
>

I think that the above text should be in the specifications. That will make
the web a better place.

Peace,
R