Skip to content

Commit badb0a8

Browse files
committed
Prepare v1.2.0 release
1 parent 7b08b2c commit badb0a8

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 1.2.0 (2020-12-04)
4+
5+
* Feature: Keep request body in memory also after consuming request body.
6+
(#395 by @clue)
7+
8+
This means consumers can now always access the complete request body as
9+
detailed in the documentation. This allows building custom parsers and more
10+
advanced processing models without having to mess with the default parsers.
11+
312
## 1.1.0 (2020-09-11)
413

514
* Feature: Support upcoming PHP 8 release, update to reactphp/socket v1.6 and adjust type checks for invalid chunk headers.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ header. If the server requires authentication, if may return a `401` (Unauthoriz
287287
status code which will reject the request by default (see also the
288288
[`withRejectErrorResponse()` method](#withrejecterrorresponse) below).
289289

290-
In order to pass authentication details, you can simple pass the username and
290+
In order to pass authentication details, you can simply pass the username and
291291
password as part of the request URL like this:
292292

293293
```php
@@ -2185,7 +2185,7 @@ given timeout value applied.
21852185

21862186
#### withFollowRedirects()
21872187

2188-
The `withTimeout(bool|int $followRedirects): Browser` method can be used to
2188+
The `withFollowRedirects(bool|int $followRedirects): Browser` method can be used to
21892189
change how HTTP redirects will be followed.
21902190

21912191
You can pass in the maximum number of redirects to follow:
@@ -2732,7 +2732,7 @@ This project follows [SemVer](https://semver.org/).
27322732
This will install the latest supported version:
27332733

27342734
```bash
2735-
$ composer require react/http:^1.1
2735+
$ composer require react/http:^1.2
27362736
```
27372737

27382738
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

0 commit comments

Comments
 (0)