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

feat: support binary data in cloudevents #112

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

lance
Copy link
Member

@lance lance commented Feb 1, 2022

Depends on: cloudevents/sdk-javascript#468
Fixes: #64

Signed-off-by: Lance Ball [email protected]

@lance lance requested a review from a team February 1, 2022 17:32
@lance lance self-assigned this Feb 1, 2022
@lance
Copy link
Member Author

lance commented Feb 3, 2022

Needs: cloudevents/sdk-javascript#466

Signed-off-by: Lance Ball <[email protected]>
@matejvasek
Copy link
Contributor

@lance is knative.gz used somewhere?

@lance
Copy link
Member Author

lance commented Feb 4, 2022

@lance is knative.gz used somewhere?

@matejvasek I had a test for it which was failing. I forgot to remove the fixture file. I'm digging into why it's failing. It looks like it's logic in the test framework here that converts the gzip binary data to string. So, I think that gzip should work in practice, just not in tests.

EDIT: I created a PR in the test framework. ladjs/superagent#1682

@matejvasek
Copy link
Contributor

/lgtm

@lance lance merged commit 2ce6c05 into nodeshift:main Feb 9, 2022
@lance lance deleted the support-binary-ce-data branch February 9, 2022 20:20
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.

Support for additional content types besides CloudEvents, application/json and text/plain
3 participants