Skip to content

Streamable HTTP: opt: don't store events for single message responses #577

@findleyr

Description

@findleyr

Related to #576, the streamable server always stores events in the event store when responding to streamable requests.

...but if there is only one event on the stream (the response), there is nothing to replay. We should avoid storing these events that will never be required.

Implementing this logic should also enable responding with application/json when there is only a single message (see #575).

Metadata

Metadata

Assignees

No one assigned

    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