return a string '"%s"' formated with etag, in which every occurrence of '\\' is replaced with '\\\\' and every occurrence of '"',
return '"%s"' % etag . replace ( '\\' , '\\\\' ) . replace ( '"' , '\\"' )