ETagMatcher

Represents an ETag request. Supports containment to see if an ETag matches. You can also use etag_matcher.weak_contains(etag) to allow weak ETags to match (allowable for conditional GET requests, but not ranges or other methods).


Methods

f __init__(self, etags, weak_etags=()) ...

f __contains__(self, other) ...

f weak_match(self, other) ...

f parse(cls, value) ...

Parse this from a header value

See the source for more information.