@@ -371,7 +371,7 @@ $server = new Server(function (ServerRequestInterface $request) {
371371
372372The response in the above example will return a response body with a link.
373373The URL contains the query parameter ` foo ` with the value ` bar ` .
374- Use [ ` htmlentities ` ] ( http ://php.net/manual/en/function.htmlentities.php)
374+ Use [ ` htmlentities ` ] ( https ://www. php.net/manual/en/function.htmlentities.php)
375375like in this example to prevent
376376[ Cross-Site Scripting (abbreviated as XSS)] ( https://en.wikipedia.org/wiki/Cross-site_scripting ) .
377377
@@ -1054,7 +1054,7 @@ A middleware request handler is expected to adhere the following rules:
10541054* It returns either:
10551055 * An instance implementing ` ResponseInterface ` for direct consumption.
10561056 * Any promise which can be consumed by
1057- [ ` Promise\resolve() ` ] ( http ://reactphp.org/promise/#resolve) resolving to a
1057+ [ ` Promise\resolve() ` ] ( https ://reactphp.org/promise/#resolve) resolving to a
10581058 ` ResponseInterface ` for deferred consumption.
10591059 * It MAY throw an ` Exception ` (or return a rejected promise) in order to
10601060 signal an error condition and abort the chain.
@@ -1113,7 +1113,7 @@ Note that as per the above documentation, the `$next` middleware request handler
11131113` ResponseInterface ` directly or one wrapped in a promise for deferred
11141114resolution.
11151115In order to simplify handling both paths, you can simply wrap this in a
1116- [ ` Promise\resolve() ` ] ( http ://reactphp.org/promise/#resolve) call like this:
1116+ [ ` Promise\resolve() ` ] ( https ://reactphp.org/promise/#resolve) call like this:
11171117
11181118``` php
11191119$server = new Server(array(
@@ -1135,7 +1135,7 @@ The previous example does not catch any exceptions and would thus signal an
11351135error condition to the ` Server ` .
11361136Alternatively, you can also catch any ` Exception ` to implement custom error
11371137handling logic (or logging etc.) by wrapping this in a
1138- [ ` Promise ` ] ( http ://reactphp.org/promise/#promise) like this:
1138+ [ ` Promise ` ] ( https ://reactphp.org/promise/#promise) like this:
11391139
11401140``` php
11411141$server = new Server(array(
@@ -1326,7 +1326,7 @@ $server = new StreamingServer(array((
13261326See also [ example #12 ] ( examples ) for more details.
13271327
13281328By default, this middleware respects the
1329- [ ` upload_max_filesize ` ] ( http ://php.net/manual/en/ini.core.php#ini.upload-max-filesize)
1329+ [ ` upload_max_filesize ` ] ( https ://www. php.net/manual/en/ini.core.php#ini.upload-max-filesize)
13301330(default ` 2M ` ) ini setting.
13311331Files that exceed this limit will be rejected with an ` UPLOAD_ERR_INI_SIZE ` error.
13321332You can control the maximum filesize for each individual file upload by
@@ -1338,9 +1338,9 @@ new RequestBodyParserMiddleware(8 * 1024 * 1024); // 8 MiB limit per file
13381338```
13391339
13401340By default, this middleware respects the
1341- [ ` file_uploads ` ] ( http ://php.net/manual/en/ini.core.php#ini.file-uploads)
1341+ [ ` file_uploads ` ] ( https ://www. php.net/manual/en/ini.core.php#ini.file-uploads)
13421342(default ` 1 ` ) and
1343- [ ` max_file_uploads ` ] ( http ://php.net/manual/en/ini.core.php#ini.max-file-uploads)
1343+ [ ` max_file_uploads ` ] ( https ://www. php.net/manual/en/ini.core.php#ini.max-file-uploads)
13441344(default ` 20 ` ) ini settings.
13451345These settings control if any and how many files can be uploaded in a single request.
13461346If you upload more files in a single request, additional files will be ignored
@@ -1370,13 +1370,13 @@ new RequestBodyParserMiddleware(10 * 1024, 100); // 100 files with 10 KiB each
13701370 Files that exceed this limit will be rejected with an ` UPLOAD_ERR_FORM_SIZE ` error.
13711371
13721372> This middleware respects the
1373- [ ` max_input_vars ` ] ( http ://php.net/manual/en/info.configuration.php#ini.max-input-vars)
1373+ [ ` max_input_vars ` ] ( https ://www. php.net/manual/en/info.configuration.php#ini.max-input-vars)
13741374 (default ` 1000 ` ) and
1375- [ ` max_input_nesting_level ` ] ( http ://php.net/manual/en/info.configuration.php#ini.max-input-nesting-level)
1375+ [ ` max_input_nesting_level ` ] ( https ://www. php.net/manual/en/info.configuration.php#ini.max-input-nesting-level)
13761376 (default ` 64 ` ) ini settings.
13771377
13781378> Note that this middleware ignores the
1379- [ ` enable_post_data_reading ` ] ( http ://php.net/manual/en/ini.core.php#ini.enable-post-data-reading)
1379+ [ ` enable_post_data_reading ` ] ( https ://www. php.net/manual/en/ini.core.php#ini.enable-post-data-reading)
13801380 (default ` 1 ` ) ini setting because it makes little sense to respect here and
13811381 is left up to higher-level implementations.
13821382 If you want to respect this setting, you have to check its value and
@@ -1418,7 +1418,7 @@ The recommended way to install this library is [through Composer](https://getcom
14181418This will install the latest supported version:
14191419
14201420``` bash
1421- $ composer require react/http:^0.8.4
1421+ $ composer require react/http:^0.8.5
14221422```
14231423
14241424See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
0 commit comments