Skip to content

Response 204 No Content on expected Array #79

@Ghriim

Description

@Ghriim

The convention used in my company is that a list API return a 204 with no content if no elements could be found to populate the response.
It won't return an empty array but just a 204 with an empty body.
In that case I got a "array<Path\To\My\Class>" must exist and implement a static fromCommand() method".

It would be nice that Guzzle could handle such a response since it's pretty standard I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions