Commits

Robert Brewer committed 1bfa26d

webtest.WebCase.assetHeader now returns the header value if found.

  • Participants
  • Parent commits a4677f6
  • Branches cherrypy

Comments (0)

Files changed (1)

File test/webtest.py

         for k, v in self.headers:
             if k.lower() == lowkey:
                 if value is None or str(value) == v:
-                    return
+                    return v
         
         if msg is None:
             if value is None: