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

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 UTC