-
Notifications
You must be signed in to change notification settings - Fork 58
Updates for binary encoding #9
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
Updates for binary encoding #9
Conversation
Signed-off-by: Evan Anderson <argent@google.com>
99660ab
to
d90a486
Compare
I'll release a new version early next week. |
I'd like to get everything into a single PR and deal with that, can you make sure that all changes from #7 reflected here as well? |
If you merge this PR, it will update #7, which you can then merge into |
Signed-off-by: Evan Anderson <argent@google.com>
This PR is against the |
Updates binary encoding to handle extensions and content-type per spec.
Update marshaller to handle both structured and binary formats. Previously, it would try structured first, even if the content-type did not match, and then ignore all the headers, producing very wimpy events with no data.
Link to issue this resolves
I was too lazy to file an issue while debugging.
What I did
I wrote a small python program using Flask to log cloud events, and to report them in a webpage. I'll be putting in in a pull request to https://github.com/knative/docs soon.
How I did it
I used the following command to POST cloudevents to the flask program I wrote above.
How to verify it
I updated the tests.
One line description for the changelog