- From: David Morris <dwm@xpasc.com>
- Date: Tue, 3 Feb 2009 11:09:38 -0800 (PST)
- cc: ietf-http-wg@w3.org
On Tue, 3 Feb 2009, Lisa Dusseault wrote: > 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. Actually, from this piece of code, we can't tell if 'weak' is ignored since the flag 'etag.weak' will retain the weak status. This may just be related to making other comparisons easier? Dave Morris
Received on Tuesday, 3 February 2009 19:10:20 UTC