http icon indicating copy to clipboard operation
http copied to clipboard

Event-driven, streaming HTTP client and server implementation for ReactPHP.

Results 52 http issues
Sort by recently updated
recently updated
newest added

With PHP 8.2 coming out later this year, we should be reading for it's release to ensure all out code works on it.

maintenance

closes issue: #449 new methods for the class Browser (withHeader and withoutHeader) With this methods you are able to set/remove default headers

new feature

By moving this code into a dedicated class we prepare for future changes required by RFC's, and don't grow the `ServerRequest` class beyond what it purpose it.

maintenance
easy pick

Should close #409 303 See Other should change the method to GET all other redirects should leave it unchanged (Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_messages) I think there are some specialties for 300 and...

new feature
HTTP/1.1

Hi there, I tried to send large data to stream response, but when I send request from browser, the browser didn't open file dialog download until method ```$stream->end()``` was called....

This project has some potential for additional performance improvements by avoiding a number of unneeded syscalls. These low-level system calls are usually issued as a result of some higher-level PHP...

new feature
help wanted

Builds on top of https://github.com/reactphp/promise/pull/75, https://github.com/reactphp/promise/pull/213, https://github.com/reactphp/promise/pull/138, https://github.com/reactphp/socket/pull/214 and https://github.com/reactphp/promise-stream/pull/20 Also builds on top of dev updates in https://github.com/clue/reactphp-block/pull/61, https://github.com/clue/reactphp-http-proxy/pull/44, https://github.com/clue/reactphp-socks/pull/106 and https://github.com/clue/reactphp-ssh-proxy/pull/35

new feature

Here's what this could potentially look like: ```php $browser = new React\Http\Browser(); $browser = $browser->withProtocolVersion('1.1'); // already supported $browser = $browser->withHeader('User-Agent', 'ACME'); // could be useful? $browser->get($url)->then(…); ``` This isn't...

new feature

new feature
HTTP/2.0
help wanted

Based on the Idea of #376 by @clue Emits an `upgrade` event when: - `Connection` header is present in the response headers and values has `upgrade` - Response status code...

new feature
help wanted