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

Erik Kline <ek@google.com> Mon, 08 May 2017 10:11 UTC

Return-Path: <ek@google.com>
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 46ACD126FB3 for <captive-portals@ietfa.amsl.com>; Mon, 8 May 2017 03:11:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 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, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 mRVt7tg5wLoP for <captive-portals@ietfa.amsl.com>; Mon, 8 May 2017 03:11:40 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A7A3B126DFB for <captive-portals@ietf.org>; Mon, 8 May 2017 03:11:40 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id b68so26942838ywe.3 for <captive-portals@ietf.org>; Mon, 08 May 2017 03:11:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BBREnNjev+Qa5QfcBBFwDR+/mOLrz+d95S2sa5dfPFc=; b=sHz1eiPVeVUvpJ/UUT1Iu7AB5dKU7Hw9tGWh3fwxJ+X7Fh+dXjuP67GH5ovLgDn1tO 3bRArntRMAKByeAO8NRtbMcgWVd3WlPZc1sXYM94BRvDC0t5n7MEF6/vheyYCE14jGtH hN0P7y4vatCJdvIMbafrU6qOf3N8RjxzChur2J51KzP/NC45jNqiZTmjnQyJzlH5n8rl n7HMR8Ddcp1LmiqKZfuUP3mdW0+6yYFcyse4R7mfX+UsP1s6azAMOm/L2EhjUZOh9iWo 3sdODg6tP5e5MiiRuVEY85KTHR4toRcH81jnS/fz1dWCF1LdpET853mPUYW4u234Zf0l +Iqg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BBREnNjev+Qa5QfcBBFwDR+/mOLrz+d95S2sa5dfPFc=; b=pKFD1szl2AjqAzWk2ef8oyWQts81CR93sWNhZbvwHf7h1RquCHRxd7GTPFMQS7FnpZ gZyW4/v1Mqbt1S8DCHzFq8+ST0v+GV5AFETDCAQqIC77LRxjvx7maJ6Fp/SQg99jOzQC Lw+e1o0Xco8BWd7qHUF8NVLiUr10Ufv1DesMcxuhEjWRElFI7fiae+RqFCUghtslxuQo qzAKGHl4rX0G9qfRpm0C3zwO5a2rWGzzKu8MCwrOymqScHPgahrh4owEcvouSFV4yg3y kA3ZKr4KCnhEbH0Bvnlf2Mwy3Bgnb4sz2hJ0VjG2WVLMlO+Xq0zh3qGDnuetIsdiwIKE /hYw==
X-Gm-Message-State: AN3rC/4pa4sJ/+kQR4PJhIeJhD0Jd1ngTB3Iw8ugIQm0GyHYCo9utvkL CKtEZdhVtCDtcEcQYglEayjW3cGhfQStJgQ=
X-Received: by 10.129.121.197 with SMTP id u188mr53055058ywc.288.1494238299678; Mon, 08 May 2017 03:11:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.105.84 with HTTP; Mon, 8 May 2017 03:11:19 -0700 (PDT)
In-Reply-To: <9162DD24-78D4-4037-8E46-6CE2119F347A@mnot.net>
References: <CAAedzxrPo+qSBWP23=fpwG0ZzBrdOMgs0gykAxOPSFbojeR79A@mail.gmail.com> <9162DD24-78D4-4037-8E46-6CE2119F347A@mnot.net>
From: Erik Kline <ek@google.com>
Date: Mon, 08 May 2017 19:11:19 +0900
Message-ID: <CAAedzxpuBN5u0sVZ6jBP5iMjDgL0UQ-yZ0PrrXdVcThCB1U+Eg@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: captive-portals@ietf.org
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="94eb2c0a6f26164159054f007799"
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/279v2CNZ730rzz_b8tnxtngcKPE>
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:11:42 -0000

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/
>
>