Weak ETag handling

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

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

        if etag.weak:
            etag.tag = value[2:]
            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?


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