Re: i93: Repeating Single-value headers

fre 2007-12-28 klockan 20:43 +0100 skrev Bjoern Hoehrmann:

>   If-Modified-Since: Thu, 22 Jun 2006 18:33:10 GMT GARBAGE
>   If-Modified-Since: Thu, 22 Jun 2006 18:33:10 GMT;length=12345
>   If-Modified-Since: Thu, 22 Jun 2006 18:33:10 GMT
> 
> As an example, Apache 2.2 treats these as identical when deciding if
> it should respond with 304 (as it ignores everything after the time).

Which is fine as there is no doubt what the requestor meant, but not
required by the specs even if roubust and forgiving HTTP-date parsers is
encouraged.

And sorry, my wording was slightly bad before. An invalid
If-Modified-Since date not understood by the recipient should never
result in 304, not ignored. The difference is when combined with
If-None-Match or other conditionals.

Regards
Henrik

Received on Saturday, 29 December 2007 00:56:59 UTC