Commits

Chris McDonough committed d30c675

fix md5_etag test

Comments (0)

Files changed (1)

webob/response.py

         md5_digest = md5(body).digest()
         md5_digest = str(b64encode(md5_digest))
         md5_digest = md5_digest.replace('\n', '')
-        self.etag = md5_digest.strip('=')
+        md5_digest = md5_digest.strip('=')
+        self.etag = md5_digest
         if set_content_md5:
             self.content_md5 = md5_digest