Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
sloev merged 1 commit intosloev:mastersloev/python-lambdarest:masterfrom
adamdotdevin:adamelmore/conditional-dumpsadamdotdevin/python-lambdarest:adamelmore/conditional-dumpsCopy head branch name to clipboard
Feb 12, 2020
Merged

don't json.dumps the body if it's already a str#58
sloev merged 1 commit intosloev:mastersloev/python-lambdarest:masterfrom
adamdotdevin:adamelmore/conditional-dumpsadamdotdevin/python-lambdarest:adamelmore/conditional-dumpsCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.