mirror of
https://github.com/apache/httpd.git
synced 2025-08-16 16:17:23 +00:00
*) test/modules/http2. convert bytes to string before
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user