10000 Invalid content-type validation for binary format · Issue #23 · cloudevents/sdk-javascript · GitHub
[go: up one dir, main page]

Skip to content
Invalid content-type validation for binary format #23
Closed
@fabiojose

Description

@fabiojose

With the following binary message:

{ accept: 'application/json, text/plain, */*',
  'content-type': 'application/json; charset=utf-8',
  'ce-type': 'com.github.pull.create',
  'ce-specversion': '0.2',
  'ce-source': 'urn:event:from:myapi/resourse/123',
  'ce-id': '74500b1a-4f87-43d1-afa9-7fe1c6251da8',
  'user-agent': 'axios/0.18.0',
  'content-length': '15',
  host: 'localhost:3000',
  connection: 'close' }
{"dummy":"wow"}

We got:

{ message: 'invalid content type',
  errors: [ 'application/json; charset=utf-8' ] }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0