Weak ETag handling

I know I've ranted about this before, but just ran across it in code again
today:

        etag.weak = (value[:2] == "W/")

        if etag.weak:
            etag.tag = value[2:]
        else:
            etag.tag = value


Stripping the "W/" off a weak etag to get a strong one, because it works
with Apache.

This bothers me to an unreasonable extent.  Is there nothing we can do about
this?  Redefine the standard to match practice?  Clarify the standard to
condemn this practice?

Lisa

Received on Tuesday, 3 February 2009 18:23:21 UTC