We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from cloudevents.http import from_http headers = { "Ce-Source": "<my-source>", "Ce-Specversion": "1.0", "Ce-Type": "my-type", "Ce-Id": str(uuid4()) } from_http("", headers)
should pass despite upper-cased attributes names.
from cloudevents.http import from_http headers = { "ce-source": "<my-source>", "ce-specversion": "1.0", "ce-type": "my-type", "ce-id": str(uuid4()) } from_http(None, headers)
likewise, this should return an event with data set to none.
None data causes _json_or_string to fail, Recommend addding a None if statement in that function.
Capitalized ce-specversion isn't read by from_http. Instead, from_http should make all keys lower case before passing it into future functionality.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
should pass despite upper-cased attributes names.
likewise, this should return an event with data set to none.
Actual Behavior
None data causes _json_or_string to fail, Recommend addding a None if statement in that function.
Capitalized ce-specversion isn't read by from_http. Instead, from_http should make all keys lower case before passing it into future functionality.
The text was updated successfully, but these errors were encountered: