Hi,
I hope the encoding type of the download plintext file is ANSI, not UTF-8.
View.py
...
with open(file_path + filename, 'r', encoding='cp949') as fd:
# This plain text file from inside the server is an ANSI (cp949)
encoded file.
response = HttpResponse(fd)
response['Content-Type
First of all I'm sorry for my English, I'm supported by the translator.
I'm trying to simulate 2 simultaneous connections in my unit tests, but
channel name gets repeated and causes the system to "ignore" one of the
connections.
self._send_and_consume('websocket.connect', {"text": "", "path": "
First I need to ask for patience with my English, the translator is helping.
We are creating an project with forecasts of millions of connections per
second. We've never worked with websocket before, I heard that Crossbar.io
was better. But I've been playing with Django Channels for some time an
3 matches
Mail list logo