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/json | ||
fun_tests.js | ||
http_binding_0_3.js | ||
http_binding_1.js | ||
sdk_test.js | ||
spec_0_3_tests.js | ||
spec_1_tests.js |