Skip to content

Support for statusCode in all responses/response types #33

Open
@tfrancois

Description

@tfrancois

Currently, the library does not return the statusCode as part of the response. It is often beneficial to be able to discern the returned statusCode for an HTTP request even if error has not an occurred. Being able to discern and handle responses that return with a 200 or 204 HTTP status code is particularly useful and currently lacking in successful requests. Of particular interest is when there is no body returned for non-JSON based responses. Without the statusCode, the response is a null body with no other confirmation that the request was successful.

Any way to add support for returning the statusCode for all responses? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions