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.
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 anAttributeError
. Because it cannot perform a decode on a None type.