Traceback (most recent call last):
File "/home/hook/.local/lib/python3.8/site-packages/websockets/client.py", line 101, in read_http_response
status_code, reason, headers = await read_response(self.reader)
File "/home/hook/.local/lib/python3.8/site-packages/websockets/http.py", line 149, in read_response
raise ValueError(f"unsupported HTTP version: {d(version)}")
ValueError: unsupported HTTP version: HTTP/1.0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "blindsqli.py", line 9, in <module>
asyncio.get_event_loop().run_until_complete(
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "blindsqli.py", line 5, in hello
async with websockets.connect(uri) as websocket:
File "/home/hook/.local/lib/python3.8/site-packages/websockets/client.py", line 517, in __aenter__
return await self
File "/home/hook/.local/lib/python3.8/site-packages/websockets/client.py", line 542, in __await_impl__
await protocol.handshake(
File "/home/hook/.local/lib/python3.8/site-packages/websockets/client.py", line 290, in handshake
status_code, response_headers = await self.read_http_response()
File "/home/hook/.local/lib/python3.8/site-packages/websockets/client.py", line 103, in read_http_response
raise InvalidMessage("did not receive a valid HTTP response") from exc
websockets.exceptions.InvalidMessage: did not receive a valid HTTP response