Re: Question on Multiplicity of Authorization and WWW-Authenticate

Julian Reschke <julian.reschke@gmx.de> Tue, 16 April 2013 12:06 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 A689B21F96CF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Apr 2013 05:06:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 wlbYdpqDZamX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Apr 2013 05:06:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2A1B121F96C9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Apr 2013 05:06:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1US4eN-0001Pe-82 for ietf-http-wg-dist@listhub.w3.org; Tue, 16 Apr 2013 12:06:15 +0000
Resent-Date: Tue, 16 Apr 2013 12:06:15 +0000
Resent-Message-Id: <E1US4eN-0001Pe-82@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1US4eK-0001Oz-PH for ietf-http-wg@listhub.w3.org; Tue, 16 Apr 2013 12:06:12 +0000
Received: from mout.gmx.net ([212.227.17.20]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1US4eJ-0006vA-S0 for ietf-http-wg@w3.org; Tue, 16 Apr 2013 12:06:12 +0000
Received: from mailout-de.gmx.net ([10.1.76.35]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MbeUV-1U9ALc2RvR-00J3qN for <ietf-http-wg@w3.org>; Tue, 16 Apr 2013 14:05:45 +0200
Received: (qmail invoked by alias); 16 Apr 2013 12:05:45 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.105]) [217.91.35.233] by mail.gmx.net (mp035) with SMTP; 16 Apr 2013 14:05:45 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/uk8B+DMbug2g6UJgd4amvfFXgyucM+543IGLIrk VebNEOlzb0lxap
Message-ID: <516D3E95.6050202@gmx.de>
Date: Tue, 16 Apr 2013 14:05:41 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: Jan Algermissen <jan.algermissen@nordsc.com>
CC: ietf-http-wg@w3.org
References: <0F597111-A3C0-45D6-84EB-E357B5AEAA26@nordsc.com>
In-Reply-To: <0F597111-A3C0-45D6-84EB-E357B5AEAA26@nordsc.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=212.227.17.20; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1US4eJ-0006vA-S0 f6f3e94693b7378da8d58c5676dcfad0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Question on Multiplicity of Authorization and WWW-Authenticate
Archived-At: <http://www.w3.org/mid/516D3E95.6050202@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17251
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>

On 2013-04-16 13:55, Jan Algermissen wrote:
> Hi,
>
> I was wondering whether there can be multiple Authorization headers in an HTTP request.
>
> AFAIU does not address the question, so I turned to [2] which suggests that there can only be one Authorization header per request. Because Authorization does not have a list value format.
>
> Is that interpretation correct?
>
> I am wondering because I understand [1] to say that WWW-Authenticate can indeed be used multiple times. However, WWW-Authenticate also does not have a list value format but is also not listed as an exception in [2], as is Set-Cookie.
>
> Can anyone clarify?
> ...

WWW-Authenticate *does* use the list format, so yes, it can be repeated.

And no, Authorization does not.

Best regards, Julian