httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: [PATCH] mod_negotiation, suffix order
Date Wed, 03 Oct 2001 17:09:59 GMT
From: "Lars Eilebrecht" <lars@hyperreal.org>
Sent: Wednesday, October 03, 2001 11:57 AM


> According to Rodent of Unusual Size:
> 
> >  Negociation is done using the header field values, NOT the
> >  URI.  
> [...]
> >  If the URI is "index.en", an explicitly English variant must
> >  match "index.en*.en*".
> >  
> >  Ordering is an issue for sure, but playing games, by decomposing
> >  the URI and trying to guess what it means, only complicates
> >  matters and is not on.
> 
> I tend to agree.
> Fiddling around with the extensions just makes negotiation
> more complicated and a source for problems and bugs.

I share your general fear.  That's why I'm against Francis' proposal to
allow index.html.en to match index.en.html.  I believe this can be much
simpler and more trustworthy by requiring the matched extensions to occur
in their given order.  That code is more easily proven than a many-to-many
matching logic.

Bill


Mime
View raw message