http-message
http-message copied to clipboard
The purpose of this PSR is to provide a set of common interfaces for HTTP messages as described in RFC 7230 and RFC 7231
Hi! I just upgraded `psr/http-message` to `^2.0` and my IDE started yelling at me because my library already requires a minimum of PHP 8.1 and i was already using [the...
this line is excess
It is an associative array with a string key (header name).
The array keys are always strings. And when `null` is passed as `$key` argument, it should always return an array. But that can be only concisely expressed in PHPStan –...
The example implied that the header would be split along semicolons but those just separate parameters within a single Content-Type header: https://www.rfc-editor.org/rfc/rfc2616#section-14.17 Multiple Content-Type headers are not permitted anyway, as...
This PR will decrease the size of the distribution by 15.74 KB by removing files that are not used in prod environment (except for licenses)