http
http copied to clipboard
Event-driven, streaming HTTP client and server implementation for ReactPHP.
I have cleared up behavior here that I couldn't comprehend. A "resume" at this point leads to several streams that need to be managed again by the loop, which were...
I don't understand why this validity check has been added. Has per rfc 2181 (https://datatracker.ietf.org/doc/html/rfc2181#section-11), underscore are valid character to use in an uri host. For my specific usage, it...
Hi, I already opened [a Discussion here](https://github.com/orgs/reactphp/discussions/578), because I am not sure if this is a bug or expected behavious. You can find the example [code in our repository.](https://github.com/GDATASoftwareAG/vaas/blob/replace-guzzle-with-react-http/php/tests/vaas/StreamsInLoopTest.php#L22) Basically...
The expected error code when ext-sockets is not enabled (SOCKET_EMSGSIZE is not defined) is 90 per the two places that OverFlowException is created in class Transaction https://github.com/reactphp/http/blob/212382c3559fa1a40fb1598b4cb92f3c97f7232e/src/Io/Transaction.php#L173-L176 https://github.com/reactphp/http/blob/212382c3559fa1a40fb1598b4cb92f3c97f7232e/src/Io/Transaction.php#L205-L208
I'm using react/http on my local server which is creating server to interact with HomeKit. And the latest version break parsing incoming request because of host name. Data which are...
For the [Roadmap to v3.x](https://github.com/reactphp/http/issues/517), there was a request to fully type the API for the library. For this PR, I have installed PHPStan and added it to the composer.json...
When a request is cancelled, the promise seems to not be cancelled. ```php
Requires php: ^7.2 || ^8.0, but still allowing usage of ^1.0 maintains backwards compatibility with the current PHP requirements Closes #513
PSR-7 v2 just adds types, which should be safe in virtually any circumstances. It does require PHP 7.2 or higher, but allowing either version should allow Composer to figure it...
I ran into a problem where the `IniUtil::iniSizeToBytes` function threw errors due to the usage of environment variables inside PHP ini settings to configure size values. Example: ```ini memory_limit=${PHP_MEMORY_LIMIT} post_max_size=$PHP_POST_MAX_SIZE...