Commit Graph

96 Commits

Author SHA1 Message Date
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
Andrew Godwin
97f7673df9 Modify HTTP to match ASGI spec 2016-01-02 10:12:03 -08:00
Andrew Godwin
3ac43cacf0 Change to unicode channel names 2016-01-02 09:18:22 -08:00
Andrew Godwin
f38f2a442e Add CWD to path to allow usage on current dir 2016-01-02 09:18:05 -08:00
Andrew Godwin
5033e24804 Disable keepalives for now 2016-01-02 09:17:34 -08:00
Andrew Godwin
88d47df276 Initial commit 2015-12-23 17:05:15 +00:00