W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 1996

If-Match vs. If-None-Match

From: Paul Hethmon <phethmon@utk.edu>
Date: Mon, 24 Jun 1996 23:11:28 EST
Message-Id: <199605242310.5420433.7@hops.ag.utk.edu>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/976
I'm in the midst of a 1.1 implementation and came across something
in draft 5 which seems to lead to ambiguity. In Sections 14.25 (If-Match)
and 14.26 (If-None-Match), it seems there could be a conflict if both
headers are present in a request.

If a client sent something like:

If-Match: "abcde"
If-None-Match: "abcde"

Which should the server honor? It doesn't seem likely for both to be
present, but it's not explicitly forbidden or resolved either.

It also seems the same circumstances could apply to "If-Modified-Since"
and "If-Unmodified-Since" if the client sends a time for the latter
which is earlier than the former, ie:

If-Modified-Since: Mon, 24 Jun 1996 02:00:00 GMT
If-Unmodified-Since: Mon, 24 Jun 1996 01:00:00 GMT

I think both of the scenarios are not likely without an error on
the client side, but it seems the spec should arbritrate the conflict
in some fashion.

The closest I could find would be to return a 400 response. Is this
what the draft intends?



Paul Hethmon
Computerman -- Agricultural Policy Analysis Center
NeoLogic Ftp & Mail Servers
Knoxville Warp User's: http://apacweb.ag.utk.edu/os2
Received on Monday, 24 June 1996 20:28:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:17 UTC