Skip to content

No way to parse response body for HttpClient.BadStatus #28

@blaix

Description

@blaix

Servers will often include a helpful error message in the body of an error response, but there's currently no way to parse that, because HttpClient.BadStatus holds a Response body, so Gren doesn't know the type of Response.data. It should probably hold a Response Bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions