HTTPResponse.create_from_dict raise AttributeError when response body is None
E5presso opened this issue · comments
Hello, I am currently testing CORS logic using a test client for AWS Chalice.
As stated in the title, when the Client receives a Response with a body of None,
executing HTTPResponse.create_from_dict
leads to an AttributeError
.
Because it cannot perform a decode on a None type.