Update "except" syntax for Python 3 compatibility
Add basic support for Etags