Re: Header addition with HTTP 2.0

Vimala Tadepalli <vimla.c@gmail.com> Tue, 31 March 2015 20:07 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 275D91ACE8F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Mar 2015 13:07:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.711
X-Spam-Level:
X-Spam-Status: No, score=-6.711 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 rFHdP8NwT-3d for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Mar 2015 13:07:30 -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 0DC991ACCED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Mar 2015 13:07:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Yd2Nt-00054e-El for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Mar 2015 20:03:37 +0000
Resent-Date: Tue, 31 Mar 2015 20:03:37 +0000
Resent-Message-Id: <E1Yd2Nt-00054e-El@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <vimla.c@gmail.com>) id 1Yd2Nl-00053Y-8H for ietf-http-wg@listhub.w3.org; Tue, 31 Mar 2015 20:03:29 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <vimla.c@gmail.com>) id 1Yd2Nk-00012U-0N for ietf-http-wg@w3.org; Tue, 31 Mar 2015 20:03:28 +0000
Received: by wgra20 with SMTP id a20so31357035wgr.3 for <ietf-http-wg@w3.org>; Tue, 31 Mar 2015 13:03:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EltlI+mD3ssHB3pX3nGznJQHBSNXhBwN+EvO3lYHrlc=; b=wSElWxiH3Ws9en2Mme5qvVfaTIr3HY8JG24BmXREU9ip2GjSo2Z88DcoSzjW5172UP 1Id1qnrOYpDXi8h30xIB2xCR5T2O2ZFSdn6ZIO3pL0aEBvxEUahv3EUw9h0AnS8cD4vq arVJpPWsWFsOBekv/fu1b6vbjxczww47fqJX1YZApiGYehQZNSvXQkVM1W+J2IgfKyLJ PQpv9q2dZAsuwLVxSvNLkJ83GcRjT6bnOsgwR3hpR1WmERPlJXqmMg5vDI4u3Sz7ivCq RoHrm6EIl3YHJ6PnDBYOaVkWh0KSNPGDwTnLaQtBPbgCXOkgrzAUuTycKPraIq44gfz0 J28g==
MIME-Version: 1.0
X-Received: by 10.194.59.199 with SMTP id b7mr77838344wjr.26.1427832181575; Tue, 31 Mar 2015 13:03:01 -0700 (PDT)
Received: by 10.28.151.204 with HTTP; Tue, 31 Mar 2015 13:03:01 -0700 (PDT)
In-Reply-To: <CACMu3toR56=u+XG1qtGD=HP9Sy32rd_23QNRMzX3+XwucFYxhA@mail.gmail.com>
References: <CAKwtvnAtuF-X3pgbgLe7VAdnMd4+Yy1EeZLaHgyXXTnZRBgFZw@mail.gmail.com> <CACMu3toR56=u+XG1qtGD=HP9Sy32rd_23QNRMzX3+XwucFYxhA@mail.gmail.com>
Date: Tue, 31 Mar 2015 13:03:01 -0700
Message-ID: <CAKwtvnATwoVT-1xWYxYPkOqz1JSW09N=cg77NfwMpYVEah=ROg@mail.gmail.com>
From: Vimala Tadepalli <vimla.c@gmail.com>
To: Bence Béky <bnc@google.com>
Cc: HTTP <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="047d7bacc0f8fb563305129b155e"
Received-SPF: pass client-ip=74.125.82.41; envelope-from=vimla.c@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-4.7
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_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1Yd2Nk-00012U-0N ba54cb0931a79e0bf4e77272a6db1af8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Header addition with HTTP 2.0
Archived-At: <http://www.w3.org/mid/CAKwtvnATwoVT-1xWYxYPkOqz1JSW09N=cg77NfwMpYVEah=ROg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29132
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>

All this effort is to redirect youtube.com requests to youtube.com/education
.
Is there any other way to redirect other than adding the header?

Thanks
Vimala

On Tue, Mar 31, 2015 at 12:59 PM, Bence Béky <bnc@google.com> wrote:

> Hi,
>
> On Mon, Mar 30, 2015 at 5:34 PM, Vimala Tadepalli <vimla.c@gmail.com>
> wrote:
> > In HTTP 2.0, can i do this?
> > If a header is added at firewall, client and server dynamic tables might
> go
> > out of sync. Will it cause any issues?
>
> Good question.  My understanding is that the firewall is supposed to
> re-encode the header.  That is, it should maintain a dynamic table on
> its connection with the client that stays in sync with that of the
> client, decode the header block using this dynamic table, and
> re-encode it towards the server using a context that is in sync with
> the server.
>
> Cheers,
>
> Bence
>