Fix failing unit tests caused by a69d223b
diff --git a/test/netlib/http/test_request.py b/test/netlib/http/test_request.py
index 7a6a9665c2..b4ecfd4ee9 100644
--- a/test/netlib/http/test_request.py
+++ b/test/netlib/http/test_request.py
@@ -138,8 +138,8 @@ def test_get_query(self):
     def test_set_query(self):
         request = treq(host=b"foo", headers = Headers(host=b"bar"))
         request.query = ODict([])
-        assert request.host == b"foo"
-        assert request.headers["host"] == b"bar"
+        assert request.host == "foo"
+        assert request.headers["host"] == "bar"
 
     def test_get_cookies_none(self):
         request = treq()
@@ -188,8 +188,8 @@ def test_set_path_components(self):
         request.path_components = []
         assert request.path == "/"
         request.query = ODict([])
-        assert request.host == b"foo"
-        assert request.headers["host"] == b"bar"
+        assert request.host == "foo"
+        assert request.headers["host"] == "bar"
 
     def test_anticache(self):
         request = treq()
