Fix request_host parsing in ClientConnection class

This commit is contained in:
Jose Henrique 2023-12-06 19:49:47 -03:00
parent 076b8faadd
commit 9695fd56bf
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,8 @@ class ClientConnection:
request_port = int(request_host.split(':')[1])
request_host = request_host.split(':')[0]
request_host = request_host.split('/')[0]
return request_host, request_port
def handle_connection(self):

View File

@ -1 +1 @@
2e479e52459118b165f024bdb5ddd163c4602bea610f4bafc3924b1e0cb3248d
ed8ea6ed6a93c962faadf85ecb04778bc34bc29684a5fc8172218d5d32a6e5ed