W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2011

Re: #290 [was: SHOULD-level requirements in p6-caching]

From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Date: Thu, 05 May 2011 06:32:47 +0000
To: Mark Nottingham <mnot@mnot.net>
cc: Adrien de Croy <adrien@qbik.com>, "Roy T. Fielding" <fielding@gbiv.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <4880.1304577167@critter.freebsd.dk>
In message <99BA74E9-0407-47A2-A802-350AD228DA81@mnot.net>, Mark Nottingham wri
tes:

>> When the no-cache pragma directive is present in a request, a cache 
>MUST treat the request as if it contains the no-cache cache-control 
>directive [ref], unless the Cache-Control header is also present and the 
>cache obeys those cache-control directives [ref] that it contains 
>(excepting any extensions that are not understood [ref]).
>
>to 
>
>"""
>When the no-cache pragma directive is present in a request, a cache MUST 
>treat the request as if it contains the no-cache cache-control directive 
>[ref], unless the Cache-Control header is also present.
>"""

Non-english-native-whining:

Text on the general form of "bla and bla or bla and bla, unless
foo" should be avoided, as some non-english natives can be confused
about which "bla" the unless applies to.

It is much better to put the conditional clause first, in
all languages that makes the entire sentence conditional:

In this case it also saves words:

	If Cache-Control is not present, a "Pragma: no-cache" MUST
	have the same effect as if "Cache-Control: no-cache" was
	present.

Poul-Henning

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Thursday, 5 May 2011 06:33:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:40 GMT