Conversation
… (currently openapi schema can't be passed as text.
✅ add testcases for additional_text_mimetypes handling
♻️ define "DEFAULT_TEXT_MIMETYPES" and move to utilities.py
|
@rehanhwr Did you verify the request format when custom stage is added on http api instead of $default? |
@sridhar562345 the format is the same, however the |
monkut
left a comment
There was a problem hiding this comment.
A quick look and some brief comments to start this moving forward.
monkut
left a comment
There was a problem hiding this comment.
I still need some more time to take a look at this, but I've commented a bit more.
ad52097 to
a000bee
Compare
2c5e697 to
69f3b71
Compare
will update it soon |
|
@monkut can we merge this in next release? |
|
I am very interested in this functionality 🙏 Please update what needs to happen for this to be merged. |
|
Hi there! Unfortunately, this PR has not seen any activity for at least 90 days. If the PR is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed. |
|
Hi there! Unfortunately, this PR was automatically closed as it had not seen any activity in at least 100 days. If the PR is still relevant to the latest version of Zappa, please open a new PR. |
|
this got auto-closed reopening |
* 🔧 migrate #971 to lastest master * 🎨 run black/isort * ♻️ refactor to allow for other binary ignore types based on mimetype. (currently openapi schema can't be passed as text. * 🎨 run black/fix flake8 * 🔧 add EXCEPTION_HANDLER setting * 🐛 fix zappa_returndict["body"] assignment * 📝 add temp debug info * 🔥 delete unnecessary print statements * ♻️ Update comments and minor refactor for clarity * ♻️ refactor for ease of testing and clarity * 🎨 fix flake8 * ✨ add `additional_text_mimetypes` setting ✅ add testcases for additional_text_mimetypes handling * 🔧 Expand default text mimetypes mentioned in #1023 ♻️ define "DEFAULT_TEXT_MIMETYPES" and move to utilities.py * 🎨 run black/isort * 🎨 run black/isort * feat: implement handler for event with format version 2.0 * refactor: getting processed response body from new method * fix: lint error * chore: move variable initialization before initial if condition * refactor: abstract implementations to two processing methods * fix: determine payload version based on value in the event itself * fixed lint --------- Co-authored-by: monkut <shane.cousins@gmail.com> Co-authored-by: Rehan Hawari <rehan.hawari10@gmail.com>
|
conflicts fixed and handled in PR #1377 closing |
Description
Handle v2 formatted event coming from HTTP API Gateway or Lambda Function URL.
GitHub Issues
#1121
#851