Skip to content

Commit

Permalink
mention all required attrs and shorten a bit
Browse files Browse the repository at this point in the history
Signed-off-by: Doug Davis <dug@us.ibm.com>
  • Loading branch information
Doug Davis committed Mar 5, 2020
1 parent 500f973 commit 52a4db5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions http-protocol-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,9 @@ When the `Content-Type` header is not prefixed with the CloudEvents media type,
being able to distinguish between a _binary_ CloudEvent and a non-CloudEvent
message can be a challenge. While this specification can not mandate that
senders do not include any of the CloudEvents HTTP headers when the message
is not a CloudEvent, it would be a reasonable assumption for a receiver
to assume that if the message has the `ce-specversion` HTTP header then
it is a CloudEvent. Note, that the presence of this header does not guarantee
that the message is _binary_ instead of _structured_ since this specification
allows for _structured_ CloudEvent metadata to be copied into HTTP headers,
so the `Content-Type` header would still need to be used for that.
is not a CloudEvent, it would be a reasonable for a receiver to assume that if
the message has all of the mandatory CloudEvents attributes as HTTP headers
then it is a CloudEvent.

### 3.1. Binary Content Mode

Expand Down

0 comments on commit 52a4db5

Please sign in to comment.