Re: New I-D: standard RateLimit headers and their relations with Retry-After

Mark Nottingham <mnot@mnot.net> Thu, 08 August 2019 02:17 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09BE3120343 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 7 Aug 2019 19:17:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.799
X-Spam-Level:
X-Spam-Status: No, score=-2.799 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.201, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=A/9WNNq9; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=jHF9ey1E
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 q821qHxr1hWD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 7 Aug 2019 19:17:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (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 7F525120116 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 7 Aug 2019 19:17:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hvXwg-0006Dc-An for ietf-http-wg-dist@listhub.w3.org; Thu, 08 Aug 2019 02:14:26 +0000
Resent-Date: Thu, 08 Aug 2019 02:14:26 +0000
Resent-Message-Id: <E1hvXwg-0006Dc-An@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1hvXwa-0006Ch-7N for ietf-http-wg@listhub.w3.org; Thu, 08 Aug 2019 02:14:20 +0000
Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1hvXwY-0008Up-B6 for ietf-http-wg@w3.org; Thu, 08 Aug 2019 02:14:20 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1B9DF21BBA; Wed, 7 Aug 2019 22:13:56 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 07 Aug 2019 22:13:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm3; bh=5 2wIYQ0cVoWqZnRw64tTbyUibbr6FlQVo+hFtzl2ZDY=; b=A/9WNNq9YwU30D1KZ OKIMPDFqsvmn5jymYsXHpaVaSx1Leu3hfMml2XogH2h3Ttvv5ddUvspnpUArcY1R XBOzXuUNZfgfWW66DzoupGfLkdz8y+NDVqvoJC+tbu47Mh9v7cCse1w3opqWRiCQ TMMQHYBBR7hYzwUE1Ck/lzhvzGJeydDTW9BBODfk8RGmLYBVXeYWXyNhPj7jLxMb P0/2ja2LwGFWJXj6hgRleTGOWbtjzLt9Bc5nnVfES4X0gs1i30RRp56pjTX9hjzm ZYh95yjxuiNCywMPF6WBIApbyoc+6vJtN15QhmEdVoQCQIKoYhsEYL8LeRNfBLRv dr98g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=52wIYQ0cVoWqZnRw64tTbyUibbr6FlQVo+hFtzl2Z DY=; b=jHF9ey1E0qW6W5xPRu1b64dzledF0VRc4HegFuXGy9Sq4qz29QMV6jnRn um9/j4eaifBuX7nKf3v7fo5qRhotVcgQgLEQ5HqbyuQmoUb6MhKIO8FwCjUIhiVP IUAyXqeXE284DKTv50ygicMKFrYju/kFL3ZV9lCEJw/yD4O9euCNePj/e7Rcp55G HPbQzVPiG9EpXfRM5+b8pzjhAKpD0FTunrmJ+sPK4V1r4286kUpJEpYJK1Y9BjE/ 1BI448Uw+pEYm6NbxCLOPiHY0JVZxuV/trWoNbLIHpNDR5bcYoaKOpydhxtcmpEg Qf2YsLSpN0Ln9yCIdR5M4cnCTNcVA==
X-ME-Sender: <xms:Y4VLXbl0hHHzxUuzZkVkWXCHlDxrr_4XRSIp8xfq5VXtfb6sU9W17g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddugedgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurheptggguffhjgffgffkfhfv ofesthhqmhdthhdtvdenucfhrhhomhepofgrrhhkucfpohhtthhinhhghhgrmhcuoehmnh hothesmhhnohhtrdhnvghtqeenucffohhmrghinhepthhinhihuhhrlhdrtghomhdpmhhn ohhtrdhnvghtnecukfhppedugeegrddufeeirddujeehrddvkeenucfrrghrrghmpehmrg hilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:Y4VLXZEhwfoIj6T58CyY_P0x5CEib8qhqf0KkwJwi_GfKuP9mzDa6A> <xmx:Y4VLXQk9VPWRbywCAarRd3prS9otDPSXsxIGRKKnFDRRDk5Oa8CVYA> <xmx:Y4VLXbMxP1RsRZcSn4JLZVJy7evxi4KVDozzFqCZ9wHrS7glBwyu8Q> <xmx:ZIVLXaPeAuv7t3R-MSx-RlDmWPkSD8UBVp7CILi39Lx9fsCswu4xbA>
Received: from macbook-pro.mnot.net (unknown [144.136.175.28]) by mail.messagingengine.com (Postfix) with ESMTPA id F09D8380075; Wed, 7 Aug 2019 22:13:53 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAP9qbHXxG2RmU=+QrxwkN2pJOEUQH4oRrv7TMxkDGbZ8MDi16A@mail.gmail.com>
Date: Thu, 08 Aug 2019 12:13:49 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A71BB840-5310-494A-9317-76C9BC93A008@mnot.net>
References: <CAP9qbHXxG2RmU=+QrxwkN2pJOEUQH4oRrv7TMxkDGbZ8MDi16A@mail.gmail.com>
To: Roberto Polli <robipolli@gmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
Received-SPF: pass client-ip=66.111.4.27; envelope-from=mnot@mnot.net; helo=out3-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: AWL=3.593, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hvXwY-0008Up-B6 5b41d574a7583d2f9ef6f0227de33b92
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New I-D: standard RateLimit headers and their relations with Retry-After
Archived-At: <https://www.w3.org/mid/A71BB840-5310-494A-9317-76C9BC93A008@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36944
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Roberto,

It's good to see you working on these; I've been meaning to start something like this for a while.

I've raised some issues on the repo, please continue. 

Cheers,


> On 7 Aug 2019, at 7:32 pm, Roberto Polli <robipolli@gmail.com> wrote:
> 
> Hi @all,
> 
> I'm writing a new I-D to standardize `RateLimit-*` headers.
> I had some positive feedback from Erik Wilde, so I'm posting here :)
> 
> The document defines the RateLimit-Limit, RateLimit-Remaining,
> RateLimit-Reset header fields for HTTP, thus allowing servers to
> publish current request quotas and clients to shape their request
> policy avoiding being throttled out.
> 
> The draft is here:
> 
> -  https://tinyurl.com/draft-ratelimit-html
> 
> If you are interested, feel free to comment PRs and file issues!
> If you have any questions don't hesitate to ask :)
> 
> Thanks and have a nice day,
> R
> 

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