sdk-javascript/test
Lance Ball d9e9ae6bdc
fix: make application/json the default content type in binary mode (#118)
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>
2020-05-05 18:02:39 -04:00
..
bindings/http fix: make application/json the default content type in binary mode (#118) 2020-05-05 18:02:39 -04:00
formats/json chore: update eslint rules to disallow var usage 2020-04-30 12:36:04 -03:00
fun_tests.js src: add eslint configuration and npm script 2020-04-22 10:15:05 -04:00
http_binding_0_3.js feat: use CloudEvents not cloudevents everywhere (#101) 2020-04-30 16:14:13 -07:00
http_binding_1.js fix: misspelled word (#115) 2020-05-02 08:30:01 -07:00
sdk_test.js src,fix: drop support for v0.2 and clean up contenttype 2020-04-28 17:37:49 -03:00
spec_0_3_tests.js feat: use CloudEvents not cloudevents everywhere (#101) 2020-04-30 16:14:13 -07:00
spec_1_tests.js fix: misspelled word (#115) 2020-05-02 08:30:01 -07:00