Commit Graph

305 Commits

Author SHA1 Message Date
Andrew Godwin
a5946922f5 Releasing version 0.10 2016-03-21 16:45:24 -07:00
Andrew Godwin
e7b323893f Change to new style of single-reader channel 2016-03-21 16:40:29 -07:00
Andrew Godwin
25626fa3bf Update daphne to new asgi spec 2016-03-20 12:29:04 -03:00
Andrew Godwin
89ebad14f9 Correctly allow for more than one Set-Cookie header 2016-03-16 09:49:29 -03:00
Andrew Godwin
ddcac026af Merge pull request #3 from ArtikUA/master
Update README
2016-03-15 18:35:10 -03:00
Artem Khomenko
a0b2e2b72c Update README
For run Daphe server you need write ':' instead of '.' to use your channel_layer from asgi.py
2016-03-15 23:12:58 +02:00
Andrew Godwin
ef22ac9528 Fix test, and remove custom status text feature 2016-03-11 10:29:17 -08:00
Andrew Godwin
a6e11d55a4 Update to reflect new ASGI spec. 2016-03-11 10:21:23 -08:00
Andrew Godwin
f9a6150aed Releasing 0.9.3 2016-03-08 10:16:50 -08:00
Andrew Godwin
1fb01f59b8 Merge pull request #2 from erikash/fix-urlencode
urlencode now handles parse_qs encoding correctly.
2016-03-08 10:15:25 -08:00
Andrew Godwin
6a7de0b6fd Releasing 0.9.2 2016-03-02 16:59:37 -08:00
Andrew Godwin
a5cf4c0961 Update error page CSS 2016-03-02 16:58:13 -08:00
Andrew Godwin
0ad7f1c2a2 Add timeout 503 responses with configurable delay. 2016-03-02 11:25:34 -08:00
Andrew Godwin
d445844061 Releasing 0.9.1 2016-03-01 00:09:33 -08:00
erikash
238e75cbd3 urlencode now handles parse_qs encoding correctly.
The autobahn websocket protocol.py line 2487 uses parse_qs(query) which always returns a list as a return value.
For example:
urllib.parse.parse_qs('room=test') returns {'room': ['test']}. 
In order to parse it correctly later, doseq for urlencode must be set to True.
2016-02-28 16:36:19 +02:00
Andrew Godwin
7b83471e6c Update backend_reader docstring 2016-02-24 08:04:04 -08:00
Andrew Godwin
6f47ba75f9 Remove unused import 2016-02-24 08:01:49 -08:00
Andrew Godwin
d25bea1543 Send order keys with WebSocket packets as per ASGI spec update 2016-02-24 00:41:31 +00:00
Andrew Godwin
eaa762c9e3 Tweak idle delays for better performance 2016-02-23 22:17:24 +00:00
Andrew Godwin
fff69f64a7 Logging tweaks 2016-02-23 22:14:50 +00:00
Andrew Godwin
a683fecfa6 Fix non-websocket connection header parsing 2016-02-23 21:59:33 +00:00
Andrew Godwin
cacce0493d Make WebSockt upgrade header case insensitive 2016-02-23 21:25:26 +00:00
Andrew Godwin
07801e9ae8 Make daphne serving thread idle better 2016-02-23 21:23:55 +00:00
Andrew Godwin
b5400d0be5 Update setup a little 2016-02-21 13:17:17 +00:00
Andrew Godwin
ee20b26921 Version 0.9 2016-02-21 13:06:55 +00:00
Andrew Godwin
aa6c0a73e6 Don't use call in thread because it blocks the main serving thread 2016-02-21 12:31:48 +00:00
Andrew Godwin
1709522162 Fix logging and log action around chunked HTTP responses 2016-02-20 23:33:50 +00:00
Andrew Godwin
b9412f8e82 Send HTTP disconnect messages 2016-02-20 22:48:31 +00:00
Andrew Godwin
f1c2a3b9f7 Correctly send WebSocket headers 2016-02-20 22:48:17 +00:00
Andrew Godwin
ba2bbffd20 Improve HTTP cleanup and multi-response lock 2016-02-14 18:48:53 +00:00
Andrew Godwin
011ec23333 Go back to not passing just the server into protocols 2016-02-10 20:30:36 +00:00
Andrew Godwin
ccd8d18da8 Add logging hooks for things like runserver 2016-02-10 20:26:30 +00:00
Andrew Godwin
8c1b7f8a5a Allow signal handlers to be disabled to run in subthread 2016-02-10 19:23:52 +00:00
Andrew Godwin
95ef5c96e2 Fix type of empty query string 2016-02-10 18:49:46 +00:00
Andrew Godwin
e9fdd4f7b6 Releasing 0.8.2 2016-02-09 12:56:29 -08:00
Andrew Godwin
cd5371846f Update gitignore 2016-02-09 12:56:18 -08:00
Andrew Godwin
c9f3b57ea3 Actually send status text 2016-02-09 12:56:03 -08:00
Andrew Godwin
f90736413a Releasing 0.8.1 2016-02-09 12:53:21 -08:00
Andrew Godwin
227c3ea2c4 Python 3 fixes 2016-02-09 12:53:04 -08:00
Andrew Godwin
33ce841d29 Add warning for non-bytes HTTP status messages 2016-02-09 12:44:21 -08:00
Andrew Godwin
f76984ec69 Releasing version 0.8 2016-02-09 12:36:27 -08:00
Andrew Godwin
1f46fdff12 Fix WebSocket protocol to correctly provide more info.
Also removed keepalive code, since it's no longer how we do things.
2016-02-09 12:35:31 -08:00
Andrew Godwin
40ed9625c3 Stop stomping on Twisted's header dict 2016-02-05 17:41:14 -08:00
Andrew Godwin
b86c8a0164 Update WS protocol to have ASGI format 2016-02-05 17:33:02 -08:00
Andrew Godwin
f85be12408 Add Travis CI config 2016-02-05 17:25:37 -08:00
Andrew Godwin
bac3c14bfa Fix python 3 support 2016-02-05 17:23:49 -08:00
Andrew Godwin
1889680fd0 Update README 2016-01-02 18:48:53 -08:00
Andrew Godwin
c61664dd3c Response chunk support 2016-01-02 18:41:02 -08:00
Andrew Godwin
0f5fe8b274 Modify header sending to match ASGI spec. 2016-01-02 18:09:49 -08:00
Andrew Godwin
94cd1bbc53 Improve logging and fix websocket handoff factory 2016-01-02 17:54:15 -08:00