Re: Weak validators in conditional requests

Eduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com> Tue, 04 September 2018 11:13 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 D5B3C130EA3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 4 Sep 2018 04:13:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.898
X-Spam-Level:
X-Spam-Status: No, score=-7.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=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 NCCkbyIEA2CN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 4 Sep 2018 04:13:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (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 32D6B12872C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 4 Sep 2018 04:13:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1fx9Em-0000Zp-Lh for ietf-http-wg-dist@listhub.w3.org; Tue, 04 Sep 2018 11:11:12 +0000
Resent-Date: Tue, 04 Sep 2018 11:11:12 +0000
Resent-Message-Id: <E1fx9Em-0000Zp-Lh@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <eduard.bagdasaryan@measurement-factory.com>) id 1fx9Eh-0000ZC-3T for ietf-http-wg@listhub.w3.org; Tue, 04 Sep 2018 11:11:07 +0000
Received: from mail.measurement-factory.com ([104.237.131.42]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <eduard.bagdasaryan@measurement-factory.com>) id 1fx9Dh-0008QC-H9 for ietf-http-wg@w3.org; Tue, 04 Sep 2018 11:11:06 +0000
Received: from [192.168.1.70] (128-69-229-35.broadband.corbina.ru [128.69.229.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.measurement-factory.com (Postfix) with ESMTPSA id 85CDFE04C for <ietf-http-wg@w3.org>; Tue, 4 Sep 2018 11:09:43 +0000 (UTC)
References: <bf5a9b56-c416-d4ab-2fbe-ac9b0482dcaa@measurement-factory.com> <0ACB722F-BC39-49BE-9401-F01193E45DAD@mnot.net>
To: ietf-http-wg@w3.org
From: Eduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Message-ID: <59f34446-46d1-7988-dae8-81bb799f68f9@measurement-factory.com>
Date: Tue, 04 Sep 2018 14:09:37 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <0ACB722F-BC39-49BE-9401-F01193E45DAD@mnot.net>
Content-Type: multipart/alternative; boundary="------------28F60B0177CC29CCED3555F7"
Content-Language: en-US
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1fx9Dh-0008QC-H9 fb52eca7fa1450bc1d03d815444bf630
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Weak validators in conditional requests
Archived-At: <https://www.w3.org/mid/59f34446-46d1-7988-dae8-81bb799f68f9@measurement-factory.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35885
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>

Yes, it is stated there, but only about If-Match and If-None-Match
headers. What about If-Modified-Since, If-Unmodified-Since
and If-Range?


On 04.09.2018 05:01, Mark Nottingham wrote:
>> Could you please help with the following two questions:
>>
>> 1. The old RFC 2616 has a MUST requirement:
>>
>>> A cache or origin server receiving a conditional request, other than
>>> a full-body GET request, MUST use the strong comparison function to
>>> evaluate the condition.
>> But I have not found this (or equivalent) in HTTPbis. Is it deprecated?
> It's stated in the definition of each conditional header; see:
>    https://httpwg.org/specs/rfc7232.html#preconditions