summaryrefslogtreecommitdiffhomepage
path: root/test/test_http_header.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_http_header.py')
-rw-r--r--test/test_http_header.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_http_header.py b/test/test_http_header.py
index af836e6f..cf5866e9 100644
--- a/test/test_http_header.py
+++ b/test/test_http_header.py
@@ -333,7 +333,7 @@ def test_http_header_host_port():
client.load('host')
resp = client.get(
- headers={'Host': 'exmaple.com:7080', 'Connection': 'close'}
+ headers={'Host': 'exmaple.com:8080', 'Connection': 'close'}
)
assert resp['status'] == 200, 'Host port status'
@@ -341,7 +341,7 @@ def test_http_header_host_port():
resp['headers']['X-Server-Name'] == 'exmaple.com'
), 'Host port SERVER_NAME'
assert (
- resp['headers']['X-Http-Host'] == 'exmaple.com:7080'
+ resp['headers']['X-Http-Host'] == 'exmaple.com:8080'
), 'Host port HTTP_HOST'
@@ -373,14 +373,14 @@ def test_http_header_host_literal():
def test_http_header_host_literal_ipv6():
client.load('host')
- resp = client.get(headers={'Host': '[::1]:7080', 'Connection': 'close'})
+ resp = client.get(headers={'Host': '[::1]:8080', 'Connection': 'close'})
assert resp['status'] == 200, 'Host literal ipv6 status'
assert (
resp['headers']['X-Server-Name'] == '[::1]'
), 'Host literal ipv6 SERVER_NAME'
assert (
- resp['headers']['X-Http-Host'] == '[::1]:7080'
+ resp['headers']['X-Http-Host'] == '[::1]:8080'
), 'Host literal ipv6 HTTP_HOST'