Open
Description
So at the moment we have a few integrations and they have a slightly different way to setting headers and status code.
The general idea is the same, we provide a response
object in info.context
. This object is based on the current integration, this is where the differences between integrations come into play.
I think we should provide a new object (unfortunately we can't replace the current one due to backwards compatibility) that allows to:
- set/update response headers
- set the status code
Having this could also help us prevent some mistakes, for example, should we allow to set the status code multiple times?
What do you think?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status