mirror of
https://github.com/django/daphne.git
synced 2025-07-10 16:02:18 +03:00
Fixed #160: _read_started set to False on request
This allows read_post_and_files to work.
This commit is contained in:
parent
2e5826418b
commit
a05f7d5a96
|
@ -39,6 +39,7 @@ class AsgiRequest(http.HttpRequest):
|
||||||
self.reply_channel = self.message.reply_channel
|
self.reply_channel = self.message.reply_channel
|
||||||
self._content_length = 0
|
self._content_length = 0
|
||||||
self._post_parse_error = False
|
self._post_parse_error = False
|
||||||
|
self._read_started = False
|
||||||
self.resolver_match = None
|
self.resolver_match = None
|
||||||
# Path info
|
# Path info
|
||||||
self.path = self.message['path']
|
self.path = self.message['path']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user