The parser for HTTP binary made the assumption that if there was no `content-type` header in the incoming message, it should inject `application/json`. Discussion about the rationale for this is in https://github.com/cloudevents/sdk-javascript/issues/441. This commit, removes that injection and adds a test to ensure the bytes are simply not parsed, but just passed along untouched. Fixes: https://github.com/cloudevents/sdk-javascript/issues/441 Signed-off-by: Lance Ball <lball@redhat.com> |
||
---|---|---|
.. | ||
conformance | ||
integration |