Cleanup headers and encoding.
This commit is contained in:
parent
468a1b970c
commit
cad185c74d
19 changed files with 138 additions and 101 deletions
|
|
@ -12,7 +12,7 @@ class DataPipelineResponse(BaseResponse):
|
|||
def parameters(self):
|
||||
# TODO this should really be moved to core/responses.py
|
||||
if self.body:
|
||||
return json.loads(self.body.decode("utf-8"))
|
||||
return json.loads(self.body)
|
||||
else:
|
||||
return self.querystring
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue