Skip to content

Cache stream responses #2932

Open
Open
@kerwanp

Description

Describe the feature

Current behavior

When a stream is used in a cachedEventHandler the cached body is the serialized stream and not the result of this stream.
Resulting in an undesired behavior as the response sent when taken from the cache is the serialized stream.

Desired behavior

When a cachedEventHandler returns a stream, the stream should be return and the response of the stream should be cached as the body.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions