Cleanup headers and encoding.
This commit is contained in:
parent
468a1b970c
commit
cad185c74d
19 changed files with 138 additions and 101 deletions
|
|
@ -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 {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue