[#317] Cache-Control directive case sensitivity

Logged as:
  http://trac.tools.ietf.org/wg/httpbis/trac/ticket/317

Incorporated in:
  http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1449



On 17/10/2011, at 10:11 PM, Mark Nottingham wrote:

> Currently, all of the cache-control directives (e.g., max-age) are defined as BNF strings, which means that they're case-insensitive.
> 
> However, theoretically someone could define a directive without using a string (as we do for some other constructs, e.g., the HTTP version identifier), which means that it'd be case-sensitive.
> 
> It seems that having such exceptions would be surprising, and that the most straightforward thing to do would be to define CC directive names as case-insensitive.
> 
> Any thoughts? A quick check of squid2 shows it case-normalising them before comparison.
> 
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
> 
> 

--
Mark Nottingham   http://www.mnot.net/

Received on Monday, 17 October 2011 22:59:55 UTC