Re: TE request header deployment

Roland Zink <roland@zinks.de> Fri, 01 July 2016 11:47 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 8405012B029 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 1 Jul 2016 04:47:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.447
X-Spam-Level:
X-Spam-Status: No, score=-8.447 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=zinks.de
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 rurryOjP2JpO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 1 Jul 2016 04:47:35 -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 BBD1712B078 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 1 Jul 2016 04:47:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bIwrR-00027l-7N for ietf-http-wg-dist@listhub.w3.org; Fri, 01 Jul 2016 11:43:53 +0000
Resent-Date: Fri, 01 Jul 2016 11:43:53 +0000
Resent-Message-Id: <E1bIwrR-00027l-7N@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 <roland@zinks.de>) id 1bIwrP-000273-8N for ietf-http-wg@listhub.w3.org; Fri, 01 Jul 2016 11:43:51 +0000
Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]) by maggie.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <roland@zinks.de>) id 1bIwrK-00060n-Hb for ietf-http-wg@w3.org; Fri, 01 Jul 2016 11:43:49 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1467373403; l=1731; s=domk; d=zinks.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:From:References:To:Subject; bh=OeRlCz8vrG9ltJnaOv2W1FOTgFsvDRY4fC8TDgGDGHA=; b=ntXHUHtuiSMoEjQI7RmxF9OSLQLwIkhU1L5NAer6rKTJT7OZ8Y4Cw6Hj83ytwCe4yjv ZA2Uz8vlmDdAGsurcdNlLa31SDbrluehHf/VBy3K19coltEUnb4ys0RDpDI4JJQpm37V1 cY/EDcrqfJ0Gy+OSE6HNSrnlFIh6SK09xVU=
X-RZG-AUTH: :PmMIdE6sW+WWP9q/oR3Lt+I+9KAK33vRJaCwLQNJU2mlIkBC0t1G+0bSVECAiLyHrNq8hrGzBBRYVj58TZ93NaVX6g==
X-RZG-CLASS-ID: mo00
Received: from [IPv6:2001:4dd0:ff67:0:6d39:c79b:f932:4429] ([2001:4dd0:ff67:0:6d39:c79b:f932:4429]) by smtp.strato.de (RZmta 38.9 AUTH) with ESMTPSA id D00e30s61BhMUFq (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for <ietf-http-wg@w3.org>; Fri, 1 Jul 2016 13:43:22 +0200 (CEST)
To: ietf-http-wg@w3.org
References: <em1fad37e9-82dc-4c5b-ab67-6e816631cf9a@bodybag> <b0ba8744-a6cf-9b08-4815-007e0ec32f01@treenet.co.nz>
From: Roland Zink <roland@zinks.de>
Message-ID: <e9377f9e-7065-0e2a-ac8c-15a6f887f406@zinks.de>
Date: Fri, 01 Jul 2016 13:43:18 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <b0ba8744-a6cf-9b08-4815-007e0ec32f01@treenet.co.nz>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=81.169.146.217; envelope-from=roland@zinks.de; helo=mo4-p00-ob.smtp.rzone.de
X-W3C-Hub-Spam-Status: No, score=-5.8
X-W3C-Hub-Spam-Report: AWL=-1.132, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bIwrK-00060n-Hb 441ff508da289ad568761967935d697f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: TE request header deployment
Archived-At: <http://www.w3.org/mid/e9377f9e-7065-0e2a-ac8c-15a6f887f406@zinks.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31819
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>

When data is dynamically compressed for transport then content-encoding 
is often broken and using transfer encoding would be better. As far as I 
know the support was removed from browsers and web servers because if 
both are supported then content was often compressed twice.

For downstream the negotiation shouldn't be a problem but upstream I 
think this isn't defined. You probably need something like CICE 
(https://tools.ietf.org/html/rfc7694) for transfer encoding or you just 
know (for example by configuration) that you can use it.

Regards,

Roland



Am 01.07.2016 um 13:09 schrieb Amos Jeffries:
> On 1/07/2016 2:05 p.m., Adrien de Croy wrote:
>> Hi all
>>
>> I've been trying unsuccessfully to find a browser that sets TE header in
>> requests.
>>
>> Tested IE, Chrome, Firefox and Opera current versions.
>>
>> I note that the wikipedia page for it comments that due to some
>> unreliable servers (e.g. breaking on TE headers) that browsers now
>> tended to not use it.
>>
>> Is it a completely defunct header then?  We were thinking it could be a
>> good option for reverse proxy bandwidth reduction (apart from HTTP/2 of
>> course).  Pointless if nobody is using it, and even worse if the proxy
>> would have to retry if the server broke on it (e.g. if a proxy inserted
>> it for upstream).
>>
>> Regards
>>
>> Adrien de Croy
> FWIW The Squid eCAP plugin to enable gzip encoding uses it on server
> connections.
>
> Other than that it seems to be a big empty space.
>
> For HTTP/2 there is
> <https://tools.ietf.org/html/draft-kerwin-http2-encoded-data-08> which
> unfortunately does not show up on the WG tracker page of related drafts
> for some reason.
>
> Amos
>
>