Skip to content

Overriding status code from response.Response #2342

@luiz-otavio

Description

@luiz-otavio

Is your feature request related to a problem? Please describe.
Yes. Recently I had the usecase to return code 204 ("No Content") in a route for listing products and I had no choice than putting it in the envelope, so the application knows that the status code of the response.

Describe the solution you'd like
A property called StatusCode in response.Response would be awesome.

Describe alternatives you've considered
None.

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageThe issue needs triaging.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions