Re: Header addition with HTTP 2.0

Bence Béky <bnc@chromium.org> Tue, 31 March 2015 20:09 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 B0E761ACCED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Mar 2015 13:09:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.09
X-Spam-Level:
X-Spam-Status: No, score=-6.09 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, 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 CHaK7pXXZeTD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Mar 2015 13:09:52 -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 721E21ACCE9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Mar 2015 13:09:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Yd2Ra-0006rO-G8 for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Mar 2015 20:07:26 +0000
Resent-Date: Tue, 31 Mar 2015 20:07:26 +0000
Resent-Message-Id: <E1Yd2Ra-0006rO-G8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <bnc@google.com>) id 1Yd2RS-0006pm-Kf for ietf-http-wg@listhub.w3.org; Tue, 31 Mar 2015 20:07:18 +0000
Received: from mail-qc0-f177.google.com ([209.85.216.177]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <bnc@google.com>) id 1Yd2RK-0001D6-LC for ietf-http-wg@w3.org; Tue, 31 Mar 2015 20:07:18 +0000
Received: by qcrf4 with SMTP id f4so11236080qcr.0 for <ietf-http-wg@w3.org>; Tue, 31 Mar 2015 13:06:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=fugBU1e3JYqcyFfbLx/tTLlD3ltQqOyhZ9ZvA0GG7Pg=; b=XmdzMQapG1CjBE52FrK+PMP9QhDx8j5B5pG/pOssncuQYzvNODm4wzPfEmIYIMnuK4 4Js07JrtpRdMws4YtCmT02wFbhc9vy9nqjVnsBhXPO1TSygAqbFWJzwb5/fF8jGlLEaI 3wfMwGvX1x9ae7h09oXC4biTsGMoeBUf2hALMlYGzCiNFL6Ljq4xuGEmIpam3neEJm1S as0m58uWJQS6zAVQQ1Lnm2Dzf72V4pzBwo4LyQ8TOFBe6cAlApQNbschDlnRVnPr/MUC RePz64FN4q3pDjkLQvhNqF3St9zwzmCcA2egJw/MeCIHCA7A2WcgLHuOtpduJ2NpkLzH s86Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=fugBU1e3JYqcyFfbLx/tTLlD3ltQqOyhZ9ZvA0GG7Pg=; b=j9HDixJ6Fgaiq98FbEfLnqWpOdKZeqLEMZC5hfnjAiRvBFTMmuZCpHfvhF09Gp+r4x fYGFDsZlfrzhzpUCZXY3CKgiW5o0B0yLdPC1tlz0cE/P6liiRvu15p7/duyadSk52qkx 2++WtXMQMComl4AdG+v8S9Hr+Fpu+222o23j8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=fugBU1e3JYqcyFfbLx/tTLlD3ltQqOyhZ9ZvA0GG7Pg=; b=KzbrvdzTGD44BC9qlpP1zI9FXO9yjyq/GP1JTktuvPn42eAyol3Us8lhJqkk5GUEeR YJOm9SeXDCipu0qS/IJbvTiEnr/r68mY+XT0lKt0mJ8vjZlzt5raqnI3YBzpm55WcqJl bIUpGZ0F98gLn72EeztntJ4feEZkKzvFRwoNaD9Ba85y+BqcjIxe8BbASgpRQoTCO/Lr zm0C3g8s+FYmX6Jgagw4aiz5l5FJDdHvTuOysLLAYAPvTLTcWjlV3xTVMahEcpVVCzqE SV+wSOvRYUgxwJpTCVtm+r6L/gq9l+02tViVS2iALwH5xl2RTzVV5a2qVC7wB7WN1BjP qFMw==
X-Gm-Message-State: ALoCoQmMyDpjGWPt+E8wohxqg3qQcL0Pw/9DTz4iRPaa2KkY+J5DeclFO4wCzSH8E6qseXbZ+sts
X-Received: by 10.140.232.19 with SMTP id d19mr6083932qhc.19.1427832404439; Tue, 31 Mar 2015 13:06:44 -0700 (PDT)
MIME-Version: 1.0
Sender: bnc@google.com
Received: by 10.229.178.6 with HTTP; Tue, 31 Mar 2015 13:06:24 -0700 (PDT)
In-Reply-To: <CAKwtvnATwoVT-1xWYxYPkOqz1JSW09N=cg77NfwMpYVEah=ROg@mail.gmail.com>
References: <CAKwtvnAtuF-X3pgbgLe7VAdnMd4+Yy1EeZLaHgyXXTnZRBgFZw@mail.gmail.com> <CACMu3toR56=u+XG1qtGD=HP9Sy32rd_23QNRMzX3+XwucFYxhA@mail.gmail.com> <CAKwtvnATwoVT-1xWYxYPkOqz1JSW09N=cg77NfwMpYVEah=ROg@mail.gmail.com>
From: Bence Béky <bnc@chromium.org>
Date: Tue, 31 Mar 2015 16:06:24 -0400
X-Google-Sender-Auth: MpWbFnTFkVikH8GN0COpy_qapHU
Message-ID: <CACMu3tr+UdJyPMk8VH7OTGmcyxWcg3cygs_-Xb=8Ki7o6qcg4Q@mail.gmail.com>
To: Vimala Tadepalli <vimla.c@gmail.com>
Cc: HTTP <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.216.177; envelope-from=bnc@google.com; helo=mail-qc0-f177.google.com
X-W3C-Hub-Spam-Status: No, score=-5.2
X-W3C-Hub-Spam-Report: AWL=-0.452, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1Yd2RK-0001D6-LC b2e310069c4cef36f301db85ef247dd0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Header addition with HTTP 2.0
Archived-At: <http://www.w3.org/mid/CACMu3tr+UdJyPMk8VH7OTGmcyxWcg3cygs_-Xb=8Ki7o6qcg4Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29134
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,

On Tue, Mar 31, 2015 at 4:03 PM, Vimala Tadepalli <vimla.c@gmail.com> wrote:
> 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?

Seems like you can rewrite outgoing URLs instead, see section 2B of
the document you linked:
https://support.google.com/youtube/answer/2695317?hl=en.

Cheers,

Bence