mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 06:14:47 +03:00
Merge 088b90a60c
into 9b56dda918
This commit is contained in:
commit
4a0a781f35
|
@ -263,8 +263,6 @@ class Request(object):
|
|||
|
||||
if content_length == 0:
|
||||
self._stream = None
|
||||
elif hasattr(self._request, 'read'):
|
||||
self._stream = self._request
|
||||
else:
|
||||
self._stream = six.BytesIO(self.raw_post_data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user