devtools/fake.py
branchstable
changeset 7232 506a0af77cee
parent 7224 e5833657c646
child 7356 73d7863d97c1
child 7434 17ef6f9efaa1
--- a/devtools/fake.py	Fri Apr 15 11:58:33 2011 +0200
+++ b/devtools/fake.py	Mon Apr 18 08:03:46 2011 +0200
@@ -112,7 +112,7 @@
         raise KeyError if the header is not set
         """
         if raw:
-            return self.headers_out.getRawHeaders(header, default)
+            return self.headers_out.getRawHeaders(header, default)[0]
         else:
             return self.headers_out.getHeader(header, default)