Skip to content

HTTP status code should be passed as integer #9

Closed
@mekras

Description

@mekras

HTTP status code should be passed as integer to ResponseInterface::withStatus(), because string can lead to an error in some implementations (in [Slim](https://github.com/slimphp/Slim/blob/48fb2ce25255ad73f0c322f8914d289d8e55e923/Slim/Http
/Response.php#L206) for example).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions