Closed fornwall closed 4 years ago
Callingstr(self.request.body) when self.request.body is a bytes instance does not work, instead we should decode the bytes.
str(self.request.body)
Since we now get the correct decoded body, we can drop _extract_json_safel as py-http-types takes care of the same thing.
_extract_json_safel
Calling
str(self.request.body)
when self.request.body is a bytes instance does not work, instead we should decode the bytes.Since we now get the correct decoded body, we can drop
_extract_json_safel
as py-http-types takes care of the same thing.