T-E chunked trailers

Ashok Kumar <ashokkumarj@gmail.com> Fri, 10 February 2017 06:30 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 2BE15129A3E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 9 Feb 2017 22:30:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.501
X-Spam-Level:
X-Spam-Status: No, score=-6.501 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_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, 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=gmail.com
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 E1f_MLMqECxl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 9 Feb 2017 22:30:56 -0800 (PST)
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 19791129860 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 9 Feb 2017 22:30:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cc4fp-00074O-Jj for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2017 06:27:13 +0000
Resent-Date: Fri, 10 Feb 2017 06:27:13 +0000
Resent-Message-Id: <E1cc4fp-00074O-Jj@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ashokkumar.j@gmail.com>) id 1cc4fi-00072e-HY for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2017 06:27:06 +0000
Received: from mail-qt0-f171.google.com ([209.85.216.171]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <ashokkumar.j@gmail.com>) id 1cc4fb-0007Vg-OS for ietf-http-wg@w3.org; Fri, 10 Feb 2017 06:27:01 +0000
Received: by mail-qt0-f171.google.com with SMTP id w20so26077076qtb.1 for <ietf-http-wg@w3.org>; Thu, 09 Feb 2017 22:26:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=JzIMfYl0oEdMtZUd3wk/Gj0QN6GCtDnhKrocEnOK49A=; b=ZWKNBnpqSTAwG4cd7jbvPepGTpaKVOXreWnGV5eXKZxCYmB0GQBETaenkWAls2lcOb B0CjSuh4ewct7PjUl1do9heiVgVMpSCsxG+pisL0nGhzlNK4cqI7gRn31c3iB7kgKII0 /WzbclLscNikUxgEUyltAUliIQ5PD1AuGPj1jrbDawzC8aqphRgYhUobBYB2fiAYY1TN b0mo5yGGaxTxZOJbHY/igO3SOi6ehup4oPKErepsLADzymS5uW5PjeczATYfW94xVuWb rES3dGCbfaIwSwQBOCqVpwLX/iWrw1N0MH0ootKy0suTdWETEkliDc1jWklvaqMy71WI 5XYg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=JzIMfYl0oEdMtZUd3wk/Gj0QN6GCtDnhKrocEnOK49A=; b=GoOjQJH8V+ufIN0j94AC3vylPPmvVvBbaJAZ4ZN+Lmem6Hx/P9IVl0WgJVpG8LZtUT QMf76w2dRgv1HdYfdT8NIyDqyEAbc74SN55WnlwdTmwDAc0rliUe/+Ph/eW2Tu2qhIDm /Uzn7tUH7x+kYpnpZ2+DLgNh9tVlXgVBGLYuP2AaO+kcGDgOwIg8uEM/UQaD5er908E0 7H1eKg6hf4pHlOaoxxDPa2SCbn2gQXKDxQZhPfVRaLHlfXkYpwvA9fzPtauzgNqnivY5 f0vkykkuPsD0MEcgSIpZ2y3MQdW22jxAB5xFv4crX3se1BbeE/B/wNbrdSBTyFlwBdRH AFrA==
X-Gm-Message-State: AMke39l79mkR4GmGOSUghexGtfgUOtK8m50KmraV6GJrfYf/2s5xrHstA/uA+f3LunCqzmOwCimGnq5EFr8BAg==
X-Received: by 10.200.57.199 with SMTP id v65mr6547345qte.13.1486707993107; Thu, 09 Feb 2017 22:26:33 -0800 (PST)
MIME-Version: 1.0
Sender: ashokkumar.j@gmail.com
Received: by 10.12.160.68 with HTTP; Thu, 9 Feb 2017 22:26:32 -0800 (PST)
From: Ashok Kumar <ashokkumarj@gmail.com>
Date: Fri, 10 Feb 2017 11:56:32 +0530
X-Google-Sender-Auth: ckzr6KO4-92OyxBHuPTV_j95qbk
Message-ID: <CAOeYYRfye_oX4Vq-TmXrAQpz2LR3Zinw5jjk6kDmYX5vz5Hr3g@mail.gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a114fcf9cd067390548272db6"
Received-SPF: pass client-ip=209.85.216.171; envelope-from=ashokkumar.j@gmail.com; helo=mail-qt0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1cc4fb-0007Vg-OS 47ae7ae5fe0c998b575c9b0e0583d9df
X-Original-To: ietf-http-wg@w3.org
Subject: T-E chunked trailers
Archived-At: <http://www.w3.org/mid/CAOeYYRfye_oX4Vq-TmXrAQpz2LR3Zinw5jjk6kDmYX5vz5Hr3g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33466
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>

Hi All,

rfc7230#section-4.4 talks about the Trailer header for Chunked T-E.

I need some clarity on expected behavior from server,

When a User-Agent sends a POST request with Chunked body and includes a
Trailer header (say with value content-md5) in the request headers, but
doesn't include any trailers after the zero chunk in the POST body.

Should this be an error or can this be ignored?

Since none of the mandatory headers can be present, I feel that this can be
ignored,

But on the other hand, content-md5 not getting generated could be some
middle box modifying the content and stripping off the trailer?


Thanks in advance,
Ashok