v2.8.0
版本发布时间: 2020-05-13 23:44:33
clue/reactphp-buzz最新发布版本:v2.9.0(2020-07-03 18:47:43)
-
Feature: Use HTTP/1.1 protocol version by default and add new
Browser::withProtocolVersion()
. (#162 by @clue)This is the preferred HTTP protocol version which also provides decent backwards-compatibility with legacy HTTP/1.0 servers. As such, there should rarely be a need to explicitly change this protocol version. You can revert to legacy HTTP/1.0 like this:
$browser->withProtocolVersion('1.0')->get($url)->then(…);
-
Feature / Fix: Explicitly close connection after response body ends. (#161 by @clue)
This improves support for servers ignoring the
Connection: close
request header that would otherwise keep the connection open and could eventually run into a timeout even though the transfer was completed. -
Fixed small issue in code example. (#160 by @mmoreram)
-
Clean up test suite and add
.gitattributes
to exclude dev files from exports. (#163 by @SimonFrings)