import circuits.web.tools
import argparse
req = circuits.web.wrappers.Request(None, server=argparse.Namespace(port=80, host='example.com'))
circuits.web.tools.validate_etags(req, circuits.web.wrappers.Response(req), autotags=True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/git/circuits/circuits/web/tools.py", line 189, in validate_etags
etag = response.collapse_body()
AttributeError: 'Response' object has no attribute 'collapse_body'