Re: draft-ietf-httpbis-p2-semantics-23, "6.3.6 205 Reset Content"

"Roy T. Fielding" <fielding@gbiv.com> Thu, 25 July 2013 17:40 UTC

Return-Path: <ietf-http-wg-request@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 1DCF221F92A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Jul 2013 10:40:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.203
X-Spam-Level:
X-Spam-Status: No, score=-9.203 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PMmHnpAgpMk0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Jul 2013 10:40:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA76721F8A67 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Jul 2013 10:40:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1V2PVt-0006KY-Ef for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Jul 2013 17:39:41 +0000
Resent-Date: Thu, 25 Jul 2013 17:39:41 +0000
Resent-Message-Id: <E1V2PVt-0006KY-Ef@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1V2PVk-0006Iu-NZ for ietf-http-wg@listhub.w3.org; Thu, 25 Jul 2013 17:39:32 +0000
Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177] helo=homiemail-a72.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1V2PVj-0002DN-8Y for ietf-http-wg@w3.org; Thu, 25 Jul 2013 17:39:32 +0000
Received: from homiemail-a72.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a72.g.dreamhost.com (Postfix) with ESMTP id 272986B0082; Thu, 25 Jul 2013 10:39:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=references :mime-version:in-reply-to:content-type:content-transfer-encoding :message-id:cc:from:subject:date:to; s=gbiv.com; bh=9/XxlN3OVJXs byH3TtkapCgv8Ek=; b=z0/WBjuqzZBEEySo44dEOHF6MfhQVKN8D06NP/b8eq/W uMvWEJprKCH0i9OaS4+HCgD8vBLsQu89FJUW5bdqUlDIHFoNwKYb8WaiI8/Qfz9q D7D6Ak7nmKX5CMtMblHnWVQTfYY9DAJgwworROviwbbpeJTom0dAe5J2BejlCxM=
Received: from [192.168.1.79] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a72.g.dreamhost.com (Postfix) with ESMTPSA id 0C22D6B007F; Thu, 25 Jul 2013 10:39:10 -0700 (PDT)
References: <51F0C5D7.5020100@gmx.de>
Mime-Version: 1.0 (1.0)
In-Reply-To: <51F0C5D7.5020100@gmx.de>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Message-Id: <631B907D-D301-4E70-A9C7-6550F9A07F1F@gbiv.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
X-Mailer: iPhone Mail (10B329)
From: "Roy T. Fielding" <fielding@gbiv.com>
Date: Thu, 25 Jul 2013 10:39:08 -0700
To: Julian Reschke <julian.reschke@gmx.de>
Received-SPF: none client-ip=208.97.132.177; envelope-from=fielding@gbiv.com; helo=homiemail-a72.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.438, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1V2PVj-0002DN-8Y 40a6b0761196b981c0a061f7f9d366c3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-p2-semantics-23, "6.3.6 205 Reset Content"
Archived-At: <http://www.w3.org/mid/631B907D-D301-4E70-A9C7-6550F9A07F1F@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18925
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>

Yes, that was the intent. More specifically, generating chunked when there is no need to do so was considered far less interoperable than simply requiring C-L. We were able to make this a requirement because 205 was defined by the WG before any deployment.

....Roy


On Jul 24, 2013, at 11:29 PM, Julian Reschke <julian.reschke@gmx.de> wrote:

> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-23.html#status.205>:
> 
> "Since the 205 status code implies that no additional content will be provided in the payload, the server MUST send a message body of zero length. In other words, the server MUST send a "Content-Length: 0" field in a 205 response or close the connection immediately after sending the blank line terminating the header section."
> 
> So would using Chunked Encoding be illegal? I don't think that was the intent.
> 
> The simplest possible fix seems to drop the second sentence.
> 
> Best regards, Julian
> 
> Origin: user npcode in <http://stackoverflow.com/questions/17826572/which-http-and-webdav-status-must-not-include-message-body/17827503?noredirect=1#comment26054009_17827503>
>