Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPResponse.create_from_dict raise AttributeError when response body is None #2083

Open
E5presso opened this issue Dec 8, 2023 · 0 comments

Comments

@E5presso
Copy link

E5presso commented Dec 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant