Skip to content

Fix: Remove undefined variable #8

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Feb 14, 2020
Merged

Fix: Remove undefined variable #8

merged 2 commits into from
Feb 14, 2020

Conversation

keyur9
Copy link
Member

@keyur9 keyur9 commented Feb 14, 2020

Fix: Remove undefined variable
Bump version to 1.0.6

Fix: Remove undefined variable
Bump version to 1.0.6
@keyur9 keyur9 requested a review from dkm199 February 14, 2020 18:28
@@ -132,8 +132,7 @@ def process_body(self, body_wrapper):
body = body_wrapper.get('body')
transfer_encoding = 'json'
except Exception as e:
body = base64.b64encode(body_wrapper['body'].encode("utf-8"))
return str(encodedBytes, "utf-8"), 'json'
return body_wrapper.get('body'), 'base64'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we dont want to encode anymore?

Fix: Encode body and set the transfer encoding to base64
@dkm199 dkm199 merged commit 7f9c2ba into master Feb 14, 2020
@dkm199 dkm199 deleted the fix-undefined-variable branch February 14, 2020 22:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants