Cleanup headers and encoding.

This commit is contained in:
Steve Pulec 2017-02-16 22:51:04 -05:00
commit cad185c74d
19 changed files with 138 additions and 101 deletions

View file

@ -14,7 +14,7 @@ class EC2ContainerServiceResponse(BaseResponse):
@property
def request_params(self):
try:
return json.loads(self.body.decode())
return json.loads(self.body)
except ValueError:
return {}