diff options
Diffstat (limited to 'test/test_protocol_http.py')
-rw-r--r-- | test/test_protocol_http.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_protocol_http.py b/test/test_protocol_http.py index bcbdd5d0..3ca590f1 100644 --- a/test/test_protocol_http.py +++ b/test/test_protocol_http.py @@ -49,6 +49,9 @@ class TestHTTPRequest: raw = r._assemble_headers() assert "Host" in raw + assert not "Host" in r.headers + r.update_host_header() + assert "Host" in r.headers def test_authority_form(self): |