psr7 icon indicating copy to clipboard operation
psr7 copied to clipboard

PSR-7 HTTP message library

Results 23 psr7 issues
Sort by recently updated
recently updated
newest added

**PHP version**: x.y.z (hint: `php --version`) PHP 7.3.18 FreeBSD 12.2-STABLE FreeBSD 12.2-STABLE r370102 PROAPPS amd64 **Description** Guys, I have a problem using the tryFopen function to create a temporary file...

`splitList()` is a replacement for `normalize()`. It was forgotten to adjust the README.md in guzzle/psr7#477.

Quite late, I know, but I just upgraded Guzzle 1 -> 2 in an app and noticed errors about undefined functions. When going through the changelogs at the same time...

Why relative paths forbidden when authority part is present? https://github.com/guzzle/psr7/blob/69568e4293f4fa993f3b0e51c9723e1e17c41379/tests/UriTest.php#L599-L605 This violates [withPath](https://github.com/php-fig/http-message/blob/efd67d1dc14a7ef4fc4e518e7dee91c271d524e4/src/UriInterface.php#L242-L264) contract. Also there's [clear description](https://github.com/php-fig/http-message/blob/efd67d1dc14a7ef4fc4e518e7dee91c271d524e4/src/UriInterface.php#L312-L313) how to avoid problem described in the aforementioned code comment.

Fixes deprecation on PHP 8.4 https://wiki.php.net/rfc/deprecate-implicitly-nullable-types

`Content-Length` in multipart bodies is not necessary. As far as I can verify is not used in any browser or other HTTP client. For reference - Similar problems in java...

do not merge
3.0

Hello! I propose to move "magic number" 120 (the maximum allowed size of the short summary of the message body) to public constant of class `GuzzleHttp\Psr7\Message`.

**PHP version**: 8.2.12 **Description** Possible parsing issue of the Link header, but also possible the site isn’t being standards compliant. **How to reproduce** Parse the Link header sent from this...