]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*) test/modules/http2. convert bytes to string before
authorStefan Eissing <icing@apache.org>
Thu, 24 Feb 2022 12:40:28 +0000 (12:40 +0000)
committerStefan Eissing <icing@apache.org>
Thu, 24 Feb 2022 12:40:28 +0000 (12:40 +0000)
     writing output of a failed transfer to file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898373 13f79535-47bb-0310-9956-ffa450edef68

test/modules/http2/test_500_proxy.py

index e38cf3fdda9a65d5324ac0c20883466ec48d0528..7240c39b272d75d4bb40a24c0893dc3241150854 100644 (file)
@@ -65,7 +65,7 @@ class TestProxy:
             src = file.read()
         if r.response["body"] != src:
             with open(os.path.join(env.gen_dir, "nghttp.out"), 'w') as fd:
-                fd.write(r.outraw)
+                fd.write(r.outraw.decode())
                 fd.write("\nstderr:\n")
                 fd.write(r.stderr)
             assert r.response["body"] == src