From a05f7d5a96f155d5b5137e9e489c6b8e592ee81f Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 12 Jul 2016 14:40:19 -0700 Subject: [PATCH] Fixed #160: _read_started set to False on request This allows read_post_and_files to work. --- channels/handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/handler.py b/channels/handler.py index 42cb44f..3e8912e 100644 --- a/channels/handler.py +++ b/channels/handler.py @@ -39,6 +39,7 @@ class AsgiRequest(http.HttpRequest): self.reply_channel = self.message.reply_channel self._content_length = 0 self._post_parse_error = False + self._read_started = False self.resolver_match = None # Path info self.path = self.message['path']