http-message icon indicating copy to clipboard operation
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

Results 28 http-message issues
Sort by recently updated
recently updated
newest added

Translate Readme.md into Simplified Chinese for Chinese users

In comparation with other http (client) implementations I really like PSR-7/17/18 has method for everything, instead of building request from a huge array. One method I am missing is for...

Adds an interface to describe a late stream, which doesn't requires an already opened resource. If accepted, I adds the factory too. ;)

The `http` only links 404. This updates the links in the comments to `https`

with this change static analysis tools are able to detect implementations which throw. see https://phpstan.org/r/90fcf22e-b99b-4455-bf32-a9a7078fbb39 [technically throwing from `__toString()` is allowed since php 7.4+](https://www.php.net/manual/en/language.oop5.magic.php#object.tostring), but since the contract explicitly mentions...

What if we've replaced the magic __toString method with a regular toString method, would make the usage nicer.

A minor update to the file comment so that phpdoc stops complaining. I wrote the arbitrary content, feel free to change if any of it is wrong.