8000 Support for additional content types besides CloudEvents, application/json and text/plain · Issue #64 · nodeshift/faas-js-runtime · GitHub
[go: up one dir, main page]

Skip to content
Support for additional content types besides CloudEvents, application/json and text/plain #64
@lance

Description

@lance

The underlying transport framework, fastify only provides content type parsing for application/json and text/plain. We already have a content type parser for application/json+cloudevent, but if the event data is anything other than text of JSON, the request will fail.

We should use Fastify's catch-all content type handler to deal with this.

4380

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0