Skip to content

Cannot parse server response for status code 204 on delete request #245

@edwardmp

Description

@edwardmp

Hi,

I really like this library, thanks for creating this!

Noticed a small issue today. I have an API which responds with a 204 (no content) status code on a successful DELETE request and thus has no content in the response body. This makes sense to me.
However Siesta considers this to be an error Cannot parse server response.

Is this intended behavior? This issue is similar to #11 except that issue was concerning a POST request, not a DELETE request.

P.s. I made sure my API does not set a Content-Type header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions