Skip to content

don't json.dumps the body if it's already a str #58

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

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

adamdotdevin
Copy link
Contributor

Nobody:
Me: "Hey, I'd like to contribute! Maybe I'll just change every test?" 😅

It's very possible I'm not understanding something, but in my experience, there's no need for body to be encased in double-quotes; anxious to hear your thoughts! The double-quotes certainly break browser rendering of returned HTML output.

@sloev
Copy link
Owner

sloev commented Feb 12, 2020

@adamelmore great find!! I'll take a look soon and see if we can get it out asap.

Thx for your contribution! Everything matters! 😉

@sloev sloev merged commit ed69175 into sloev:master Feb 12, 2020
@sloev
Copy link
Owner

sloev commented Feb 12, 2020

@adamelmore i have released your changes with v. 7.0.0 as it is a breaking change

@adamdotdevin
Copy link
Contributor Author

Just FWIW, I was really happy to see that this library exists! I'm enjoying the AWS CDK and really wanted a lightweight routing library that plays nicely with it; Chalice/Zappa/etc. have too much infra/deploy baggage to be easily integrated with the CDK. Cheers!

@adamdotdevin adamdotdevin deleted the adamelmore/conditional-dumps branch February 12, 2020 19:51
@sloev
Copy link
Owner

sloev commented Feb 13, 2020 via email

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

Successfully merging this pull request may close these issues.

2 participants