Commit Graph

521 Commits

Author SHA1 Message Date
Andrew Godwin
e666355fad Remove old echo code and allow configuring of http handler 2016-02-20 23:31:27 +00:00
Andrew Godwin
d180f07b54 Wrap long line 2016-02-20 22:59:29 +00:00
Andrew Godwin
64fe0cb77f Add --noasgi option to runserver to run the old WSGI server instead 2016-02-20 22:56:10 +00:00
Andrew Godwin
267e56ce2a Make transfer_user fail silently if no user 2016-02-20 22:47:48 +00:00
Andrew Godwin
171b9d8552 Add META['SCRIPT_NAME'] for backwards compat 2016-02-20 22:47:35 +00:00
Andrew Godwin
31447a4641 User auth fixing 2016-02-14 21:27:12 +00:00
Andrew Godwin
5c9093ddeb Fix bug with sending empty response 2016-02-14 21:26:34 +00:00
Andrew Godwin
be1498768f HTTP Long Poll finishing off 2016-02-14 19:22:46 +00:00
Andrew Godwin
4f60726ec4 Remove unused imports 2016-02-14 18:50:05 +00:00
Andrew Godwin
943733c447 Additional logging and --noworker option 2016-02-14 18:47:30 +00:00
Andrew Godwin
1328c367dc Move default-request handling into common place 2016-02-14 17:11:44 +00:00
Andrew Godwin
b468ddd930 More flake fixes 2016-02-10 20:37:57 +00:00
Andrew Godwin
caca13c2bc Remove extra blank line 2016-02-10 20:31:50 +00:00
Andrew Godwin
41b6750afb Do much more runserver-like logging 2016-02-10 20:26:56 +00:00
Andrew Godwin
fee6a38483 Handle request body encoding 2016-02-10 19:50:36 +00:00
Andrew Godwin
76611b7e6e Fix up some comments 2016-02-10 19:29:47 +00:00
Andrew Godwin
cd17c88533 Fix flake errors 2016-02-10 19:28:12 +00:00
Andrew Godwin
a4381f427e Fix runserver to properly autoreload w/Twisted 2016-02-10 19:24:18 +00:00
Andrew Godwin
1a7010aa2c Make _stream work on AsgiRequest 2016-02-10 19:15:00 +00:00
Andrew Godwin
899e180c21 Start updating docs to reflect new interaction pattern 2016-02-10 18:39:34 +00:00
Andrew Godwin
c7d417dd33 OKAY I THINK THIS IS THE LAST STUPID MISTAKE 2016-02-09 13:35:13 -08:00
Andrew Godwin
49cbf31872 Fix more python 3 unicode issues 2016-02-09 13:32:37 -08:00
Andrew Godwin
be172045ed Fix test path encoding 2016-02-09 13:04:23 -08:00
Andrew Godwin
aff9ca2f13 Update runserver to autoreload w/daphne in main thread 2016-02-09 13:01:46 -08:00
Andrew Godwin
5ddeed4a25 Remove dead code 2016-02-09 13:01:46 -08:00
Andrew Godwin
e575693093 Merge pull request #71 from georgebrock/patch-1
Docs: reply_channel is a property of message
2016-02-07 23:40:39 -08:00
George Brocklehurst
85bb8c98d2
Docs: Update encode/decode methods in example.
`encode` is now `channel_encode`, and `decode` is now `channel_decode`.
2016-02-07 10:19:21 -05:00
George Brocklehurst
88d3379e31
Docs: reply_channel is a property of message
Update an example where `reply_channel` was a global, and contained the
channel name rather than a channel objects.
2016-02-07 10:12:45 -05:00
Andrew Godwin
b7b11cb075 Remove sneaky print 2016-02-05 16:47:43 -08:00
Andrew Godwin
fa58375a51 Python 3 fixes 2016-02-05 16:47:11 -08:00
Andrew Godwin
13766a3027 Fix flake8 errors 2016-02-05 16:26:05 -08:00
Andrew Godwin
1dab70ed86 Update CI config a bit more. 2016-02-05 16:22:58 -08:00
Andrew Godwin
74c444ca52 Add dependencies to travis config 2016-02-05 16:04:18 -08:00
Andrew Godwin
43c903a501 Fix image target 2016-02-05 16:01:45 -08:00
Andrew Godwin
58f18aa103 Add Travis build status badge 2016-02-05 16:01:12 -08:00
Andrew Godwin
95f464dd4d Merge pull request #65 from DanLipsitt/travis
Config for Travis CI.
2016-02-05 15:54:04 -08:00
Andrew Godwin
5cd2cbdfee Add test suite for ASGI handlers 2016-02-05 15:53:01 -08:00
Andrew Godwin
17e9824f71 Update database channel backend to pass conformance 2016-02-05 14:16:20 -08:00
Andrew Godwin
5df99c9cfd Fix some incorrect backend layer references 2016-01-17 14:31:04 -08:00
Andrew Godwin
a9810014ca Rework database channel layer and tests, to use ASGI conformance suite 2016-01-17 14:28:01 -08:00
Andrew Godwin
5fa357e403 Disable linearize until it's reimplemented on sessions. 2016-01-17 14:22:28 -08:00
Andrew Godwin
717eb0a100 Added the "flush" extension to ASGI, and clarified group expiry 2016-01-17 14:21:45 -08:00
Dan Lipsitt
4d9c33c72d Config for Travis CI. 2016-01-13 14:43:58 -08:00
Andrew Godwin
9f7c0f86c4 Merge pull request #64 from pombredanne/patch-1
Fixed minor doc typo.
2016-01-10 10:56:18 -08:00
Philippe Ombredanne
8f9d40b659 Fixed minor doc typo. 2016-01-10 13:03:19 +01:00
Andrew Godwin
355bf87782 Merge pull request #61 from Lukasa/asgi-push
Draft proposal for Server Push messages
2016-01-05 09:56:13 -08:00
Cory Benfield
894041a3c0 New approach to server push. 2016-01-05 11:41:57 +00:00
Andrew Godwin
a8d09c2644 Embarassingly managed to remove the only name expansion. 2016-01-04 18:24:24 -08:00
Cory Benfield
4ea7b26c65 Draft proposal for Server Push messages 2016-01-03 09:48:08 +00:00
Andrew Godwin
93b2229b2b HTTP body spec fixes 2016-01-02 22:59:09 -08:00