Skip to content

Commit b688124

Browse files
sirdiegomnavarrocarter
authored andcommitted
Update README.md
Fix minor typos.
1 parent 8932562 commit b688124

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ At the moment, the only options supported are:
6464

6565
### Exception Handling
6666

67-
A call to `fetch` can throw two exceptions, which are property documented.
67+
A call to `fetch` can throw two exceptions, which are properly documented.
6868

6969
A `MNC\Http\SocketError` is thrown when a TCP connection cannot be established
7070
with the server. Common scenarios where this may happen include:
@@ -74,9 +74,9 @@ with the server. Common scenarios where this may happen include:
7474
- The server took too long to produce a response (timeout)
7575
- The SSL handshake failed (non trusted certificate)
7676

77-
A `MNC\Http\ProtocolError` occurs when a connection could be established, and the
78-
a response was produced by the server, but this response was an error according
79-
to the HTTP protocol specification (a status code in the 400 or 500 range). This exception
77+
A `MNC\Http\ProtocolError` occurs when a connection could be established, and a
78+
response was produced by the server, but this response was an error according to
79+
the HTTP protocol specification (a status code in the 400 or 500 range). This exception
8080
contains the `MNC\Http\Response` object that the server produced.
8181

8282
The distinction between these two kind of errors is really important since
@@ -186,7 +186,7 @@ $lastModified = $stdHeaders->getLastModified()->diff(new DateTimeImmutable(), tr
186186
echo sprintf('This html content was last modified %s hours ago...', $lastModified) . PHP_EOL;
187187
```
188188

189-
You can use these headers information to handle chaching or avoiding reading the whole
189+
You can use these headers information to handle caching or avoiding reading the whole
190190
stream body if is not necessary.
191191

192192
Since these standards headers may not be present in a certain responses, they
@@ -434,4 +434,4 @@ This client is simple, small, functional, immutable, type-safe, well designed an
434434
good balance between protocol strictness and convenience. I think there is nothing like that
435435
in the PHP ecosystem right now, so there might be a user base for this.
436436

437-
Hope you enjoy using it as much as I enjoyed building it.
437+
Hope you enjoy using it as much as I enjoyed building it.

0 commit comments

Comments
 (0)