daphne/channels
Sam Bolgert b115f8fa04 Update channel_session decorator to rehydrate http_session (#348)
* Update channel_session decorator to rehydrate http_session

Update the http_session decorator to write the http session key
to the channel_session when available. This allows the channel_session
decorator to rehydrate the http_session after the initial websocket
connection.

closes #318

* Add persist=True option to http_session

* Add explicit option to store the session key in the channel session
* Update docs
* Add test case

* Add channel_and_http_session decorator

This decorator enables both sessions and maintains
the http_session for the lifetime of the websocket connection.
2016-09-29 11:08:44 -07:00
..
binding Inbound tests (#351) 2016-09-12 11:27:42 +01:00
generic Move the groups at class definition (#321) 2016-08-26 12:12:14 -07:00
management Too many threads bug in threaded worker. (#334) 2016-09-02 08:02:29 -07:00
tests Update channel_session decorator to rehydrate http_session (#348) 2016-09-29 11:08:44 -07:00
__init__.py Releasing version 0.17.2 2016-08-04 16:55:43 -07:00
apps.py First version of binding code 2016-07-14 23:15:57 -07:00
asgi.py Introduce ChannelTestCase to make testing easier 2016-04-04 03:34:05 +02:00
auth.py Iimprovements for test client (#352) 2016-09-12 11:28:12 +01:00
channel.py Change type of error 2016-04-06 22:02:41 -07:00
exceptions.py Respect HTTP request body close in ASGI. 2016-04-04 03:34:05 +02:00
hacks.py Start making channels work to ASGI spec. 2016-01-02 10:17:45 -08:00
handler.py Fix type for request.META['SERVER_PORT'] (#378) 2016-09-23 11:37:45 -07:00
log.py Show daphne server logs in runserver 2016-08-05 22:17:59 -07:00
message.py Add some more dict methods to Message 2016-06-17 12:50:25 +01:00
routing.py Add null consumer for websocket.receive too. 2016-07-06 12:10:17 -07:00
sessions.py Update channel_session decorator to rehydrate http_session (#348) 2016-09-29 11:08:44 -07:00
signals.py Run workers in threads. (#322) 2016-08-31 21:26:03 -07:00
staticfiles.py Increase FileResponse block size everywhere, not just staticfiles 2016-03-22 10:31:37 -07:00
utils.py Naming consumers that are classmethods (#324) 2016-08-29 10:37:09 -07:00
worker.py Run workers in threads. (#322) 2016-08-31 21:26:03 -07:00