Added POST compatibility, fixes test

This commit is contained in:
Ryan P Kilby 2015-05-28 07:30:47 -04:00
parent 1441469d38
commit 45203d20e6

View File

@ -385,6 +385,10 @@ class Request(object):
self._full_data = self._data.copy()
self._full_data.update(self._files)
# Point the underlying request data to our parsed data for backwards compatibility.
self._request._post = self._data
self._request._files = self._files
# Method overloading - change the method and remove the param from the content.
if (
self._METHOD_PARAM and