Fixed #160: _read_started set to False on request

This allows read_post_and_files to work.
This commit is contained in:
Andrew Godwin 2016-07-12 14:40:19 -07:00
parent 2e5826418b
commit a05f7d5a96

View File

@ -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']