diff options
Diffstat (limited to 'test/unit/http.py')
-rw-r--r-- | test/unit/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/http.py b/test/unit/http.py index 82a6bd6a..1a68ca3b 100644 --- a/test/unit/http.py +++ b/test/unit/http.py @@ -63,7 +63,7 @@ class TestHTTP(TestUnit): if 'raw' not in kwargs: req = ' '.join([start_str, url, http]) + crlf - if body is not b'': + if body != b'': if isinstance(body, str): body = body.encode() |