Andrew Godwin
e890c48f3f
Fixed #210 : Fix query string to be bytes and not decoded
2016-06-22 09:44:10 -07:00
Andrew Godwin
6ea6dc6576
Fixed #210 : Plus double-decoded for query string
2016-06-21 08:04:16 -07:00
Tim Watts
56104e7fc6
Tests for file and streaming response handling inside Django ( #185 )
...
* add first streaming and file response tests
* iterate over response and not streaming content directly
* add coverage for FileResponse and StreamingHttpResponse
* added tests for headers, json responses, and redirect responses
* rm print statement
* skip failing stringio test
2016-06-01 09:47:50 -07:00
Andrew Godwin
38641d8522
Fixed #182 : Close response once we're done with it
2016-05-31 19:04:12 +00:00
Andrew Godwin
feea84f323
Introduce backpressure with ChannelFull
2016-05-05 22:48:12 -07:00
Andrew Godwin
45dfeb548e
Django 1.10 patch fixes
2016-05-03 18:10:51 -07:00
Andrew Godwin
e684b27e46
Switch to uncode path and query string for HTTP
2016-04-26 13:33:26 +01:00
Michael Kutý
80206e5452
Fix loading files. #123
2016-04-08 11:04:55 -07:00
Andrew Godwin
d29f02fb33
Patchinator/django fixes
2016-04-05 16:20:49 -07:00
David Evans
28e897d9bc
Remove lazy loading of middleware
...
This mirrors the equivalent change in Django itsef. See:
https://code.djangoproject.com/ticket/26452
99bb7fcc18
2016-04-04 13:36:18 -07:00
Andrew Godwin
67e3e55131
Respect HTTP request body close in ASGI.
2016-04-04 03:34:05 +02:00
Andrew Godwin
920882f1da
Implement timeout on request body reading
2016-04-04 03:34:05 +02:00
Andrew Godwin
f829a14312
Don't show last-chance traceback when DEBUG is off.
2016-03-23 12:53:02 -07:00
Andrew Godwin
7bc94b342e
Implement last-resort error handler for HTTP requests
...
There's no WSGI server to do this for us, so Channels has to.
2016-03-23 11:50:35 -07:00
Andrew Godwin
52c821a186
Increase FileResponse block size everywhere, not just staticfiles
2016-03-22 10:31:37 -07:00
Andrew Godwin
8faf37bfbf
Fix type of cookie header string
2016-03-16 09:50:15 -03:00
Andrew Godwin
5bf19f52f6
Remove status_text from the HTTP response spec.
2016-03-11 10:30:40 -08:00
Andrew Godwin
820e955515
Change ASGI spec regarding headers.
2016-03-11 10:20:17 -08:00
Andrew Godwin
38c6df8125
Move ResponseLater into exceptions module
2016-02-24 00:39:48 +00:00
Andrew Godwin
247a26b91a
Fix streaming responses (e.g. staticfiles.serve)
2016-02-20 23:32:01 +00:00
Andrew Godwin
171b9d8552
Add META['SCRIPT_NAME'] for backwards compat
2016-02-20 22:47:35 +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
b468ddd930
More flake fixes
2016-02-10 20:37:57 +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
1a7010aa2c
Make _stream work on AsgiRequest
2016-02-10 19:15:00 +00:00
Andrew Godwin
49cbf31872
Fix more python 3 unicode issues
2016-02-09 13:32:37 -08:00
Andrew Godwin
aff9ca2f13
Update runserver to autoreload w/daphne in main thread
2016-02-09 13:01:46 -08: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
1dab70ed86
Update CI config a bit more.
2016-02-05 16:22:58 -08:00
Andrew Godwin
5cd2cbdfee
Add test suite for ASGI handlers
2016-02-05 15:53:01 -08:00
Andrew Godwin
5348c52778
Fixed #33 : Add wsgi.multi* variables for back compat.
2016-01-02 18:35:43 -08:00
Andrew Godwin
d452486524
Correct body/POST handling
2016-01-02 18:10:25 -08:00
Andrew Godwin
b9464ca149
Start making channels work to ASGI spec.
2016-01-02 10:17:45 -08:00