summaryrefslogtreecommitdiffhomepage
path: root/test/unit/http.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-11-29 01:02:08 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2022-11-29 01:02:08 +0000
commit190691ade82f5126271b374dd5b8d0cb57f9473a (patch)
treed684510e886fb94c249cb9df1c310a2c42252b05 /test/unit/http.py
parente3bbf5b3b5be384a39bbd1c42d44379b17d94185 (diff)
downloadunit-190691ade82f5126271b374dd5b8d0cb57f9473a.tar.gz
unit-190691ade82f5126271b374dd5b8d0cb57f9473a.tar.bz2
Tests: NJS.
Diffstat (limited to 'test/unit/http.py')
-rw-r--r--test/unit/http.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/http.py b/test/unit/http.py
index 144f300c..c48a720f 100644
--- a/test/unit/http.py
+++ b/test/unit/http.py
@@ -102,7 +102,9 @@ class TestHTTP:
if 'read_buffer_size' in kwargs:
recvall_kwargs['buff_size'] = kwargs['read_buffer_size']
- resp = self.recvall(sock, **recvall_kwargs).decode(encoding)
+ resp = self.recvall(sock, **recvall_kwargs).decode(
+ encoding, errors='ignore'
+ )
else:
return sock