The Knative Kafka event source does not include a `Content-Type` header when sending binary events. The CE HTTP binding specification doesn't address how a receiver should handle this situation. This commit makes `application/json` the default. Fixes: https://github.com/cloudevents/sdk-javascript/issues/117 Ref: https://github.com/cloudevents/spec/issues/614 Signed-off-by: Lance Ball <lball@redhat.com> |
||
---|---|---|
.. | ||
bindings/http | ||
formats | ||
specs | ||
utils | ||
cloudevent.js |