Skip to content

Commit 66a937c

Browse files
committed
Fix some typos, wrap at 80 chars, fix rst errors
1 parent 96b86e5 commit 66a937c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

plugins/content-length.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ request. This helps HTTP servers to handle the request::
1616
);
1717

1818
If the size of the stream can not be determined, the plugin sets the Encoding header to ``chunked``, as defined in
19-
:rfc:`7230#section-4.1`::
19+
:rfc:`7230#section-4.1`
2020

2121
This is useful when you want to transfer data of unknown size to an HTTP application without consuming memory.
2222

plugins/cookie.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Cookie Plugin
22
=============
33

4-
The ``CookiePlugin`` allow you to store cookies information in a ``CookieJar`` and reuse them on consequent requests according
4+
The ``CookiePlugin`` allow you to store cookies in a ``CookieJar`` and reuse them on consequent requests according
55
to :rfc:`6265#section-4` specification::
66

77
use Http\Discovery\HttpClientDiscovery;

plugins/decoder.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Decoder Plugin
22
==============
33

4-
The ``DecoderPlugin`` decodes the body of the response with filters coming from the ``Transfer-Encoding`` or ``Content-Encoding``
5-
headers::
4+
The ``DecoderPlugin`` decodes the body of the response with filters coming from the ``Transfer-Encoding``
5+
or ``Content-Encoding`` headers::
66

77
use Http\Discovery\HttpClientDiscovery;
88
use Http\Client\Plugin\PluginClient;
@@ -27,5 +27,5 @@ by setting the ``use_content_encoding`` configuration option to false::
2727

2828
$decoderPlugin = new DecoderPlugin(['use_content_encoding' => false]);
2929

30-
Not decoding content is useful when you don't want to get the encoded response body, or acting as a proxy but sill be able
31-
to decode message from the ``Transfer-Encoding`` header value.
30+
Not decoding content is useful when you don't want to get the encoded response body, or acting as a proxy but sill
31+
be able to decode message from the ``Transfer-Encoding`` header value.

plugins/logger.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
Logger Plugin
22
=============
33

4-
The ``LoggerPlugin`` converts requests, responses and exceptions to strings and logs them with a PSR3_ compliant logger::
4+
The ``LoggerPlugin`` converts requests, responses and exceptions to strings and logs them with a PSR3_
5+
compliant logger::
56

67
use Http\Discovery\HttpClientDiscovery;
78
use Http\Client\Plugin\PluginClient;
@@ -15,9 +16,8 @@ The ``LoggerPlugin`` converts requests, responses and exceptions to strings and
1516
[$loggerPlugin]
1617
);
1718

18-
By default it uses ``Http\Message\Formatter\SimpleFormatter`` to format the request or the response into a string,
19-
which will be used in the log message but you can use any formatter implementing the
20-
``Http\Message\Formatter`` interface::
19+
By default it uses ``Http\Message\Formatter\SimpleFormatter`` to format the request or the response into a string.
20+
You can use any formatter implementing the ``Http\Message\Formatter`` interface::
2121

2222
$formatter = new \My\Formatter\Implemenation();
2323

0 commit comments

Comments
 (0)