Re: [Captive-portals] practicality of 511 HTTP status code

Mark Nottingham <mnot@mnot.net> Mon, 08 May 2017 10:13 UTC

Return-Path: <mnot@mnot.net>
X-Original-To: captive-portals@ietfa.amsl.com
Delivered-To: captive-portals@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 783781292C5 for <captive-portals@ietfa.amsl.com>; Mon, 8 May 2017 03:13:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level:
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 ipnQur3faj7y for <captive-portals@ietfa.amsl.com>; Mon, 8 May 2017 03:13:49 -0700 (PDT)
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B58D8126FB3 for <captive-portals@ietf.org>; Mon, 8 May 2017 03:13:49 -0700 (PDT)
Received: from [192.168.1.14] (unknown [124.189.96.43]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C1E1422E1F3; Mon, 8 May 2017 06:13:30 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAAedzxpuBN5u0sVZ6jBP5iMjDgL0UQ-yZ0PrrXdVcThCB1U+Eg@mail.gmail.com>
Date: Mon, 08 May 2017 20:13:26 +1000
Cc: captive-portals@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <EE54C7EA-553D-4CA2-BE01-0B8EFA869660@mnot.net>
References: <CAAedzxrPo+qSBWP23=fpwG0ZzBrdOMgs0gykAxOPSFbojeR79A@mail.gmail.com> <9162DD24-78D4-4037-8E46-6CE2119F347A@mnot.net> <CAAedzxpuBN5u0sVZ6jBP5iMjDgL0UQ-yZ0PrrXdVcThCB1U+Eg@mail.gmail.com>
To: Erik Kline <ek@google.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/rzq6if1AzjjDJkTiMcgAixT2W9E>
Subject: Re: [Captive-portals] practicality of 511 HTTP status code
X-BeenThere: captive-portals@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussion of issues related to captive portals <captive-portals.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/captive-portals>, <mailto:captive-portals-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/captive-portals/>
List-Post: <mailto:captive-portals@ietf.org>
List-Help: <mailto:captive-portals-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/captive-portals>, <mailto:captive-portals-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 May 2017 10:13:52 -0000

511 doesn't define semantics for Location, so not out of the box. You could revise the spec to do so, but it's probably easier just to define a new media type, or a use-case-specific header.

Cheers,


> On 8 May 2017, at 8:11 pm, Erik Kline <ek@google.com> wrote:
> 
> If I read this correctly you're saying that if it were deemed useful, hypothetically, a Location: header could be added to the server response?
> 
> On 8 May 2017 at 12:27, Mark Nottingham <mnot@mnot.net> wrote:
> 511 was defined with a fair dash of hope -- that someone would pick it up and run with it.
> 
> It isn't complete; client behaviours need to be defined, probably through new media type(s) and/or HTTP response headers.
> 
> The nice thing about it is that its semantics are unambiguous; it's clear that you've got a response from the intervening network, NOT the endpoint you intended. That's helpful, especially for non-browser clients.
> 
> Cheers,
> 
> 
> > On 7 May 2017, at 6:05 pm, Erik Kline <ek@google.com> wrote:
> >
> > I wanted to poll the group's thoughts on the usefulness of the rfc6585#section-6 511 HTTP status code.
> >
> > Has anybody tried to serve 511s to clients, and if so what were the results?
> >
> > Might it be useful to serve an API endpoint (rather than the full-blown HTML UI)?
> >
> > I'm trying to get a sense of whether this will be a useful tool to use in assembling a recommended portal interaction.  If we determine it's not really going to be a workable component, then that's useful to know too.
> > _______________________________________________
> > Captive-portals mailing list
> > Captive-portals@ietf.org
> > https://www.ietf.org/mailman/listinfo/captive-portals
> 
> --
> Mark Nottingham   https://www.mnot.net/
> 
> 

--
Mark Nottingham   https://www.mnot.net/