Skip to content

ignore datacontenttype when using to_binary() - #138

Merged
di merged 3 commits into
cloudevents:masterfrom
xinydev:to-binary-patch-1
Jun 1, 2021
Merged

di merged 3 commits into
cloudevents:masterfrom
xinydev:to-binary-patch-1

Conversation

@xinydev

@xinydev xinydev commented May 26, 2021

Copy link
Copy Markdown
Contributor

Fixes #137

Changes

One line description for the changelog

  • Tests pass
  • Appropriate changes to README are included in PR

@xinydev

xinydev commented May 26, 2021

Copy link
Copy Markdown
Contributor Author

I change the contenttype to datacontenttype other than add datacontenttype like ["data", "extensions", "contenttype","datacontenttype"]

because all props are set by self.Properties()code , and there is no such headers like ce-contenttype in spec

@xinydev

xinydev commented May 27, 2021

Copy link
Copy Markdown
Contributor Author

@di Could you take a look at this PR?

@di

di commented May 27, 2021

Copy link
Copy Markdown
Member

@xinydev Makes sense to me, can you get the tests passing and also sign your commits so DCO passes?

Signed-off-by: XinYang <xinydev@gmail.com>
@xinydev
xinydev force-pushed the to-binary-patch-1 branch from 802060d to 08ca427 Compare May 27, 2021 15:55
xinydev added 2 commits May 28, 2021 00:30
Signed-off-by: XinYang <xinydev@gmail.com>
Signed-off-by: XinYang <xinydev@gmail.com>
@xinydev

xinydev commented May 28, 2021 •

Copy link
Copy Markdown
Contributor Author

@xinydev Makes sense to me, can you get the tests passing and also sign your commits so DCO passes?

@di I get the tests passing in my forked repo. Could you please approve running tests workflows?

@di
di merged commit a5fc827 into cloudevents:master Jun 1, 2021
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.

to_binary() generates unnecessary headers

2 participants