From dcc6f9326f70efbab81897aae8f2e23d621c7f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 7 Sep 2018 13:53:12 +0200 Subject: Fix some grammatical errors in the manual --- doc/src/manual/cowboy_req.read_body.asciidoc | 2 +- doc/src/manual/cowboy_req.read_part.asciidoc | 2 +- doc/src/manual/cowboy_req.read_part_body.asciidoc | 2 +- doc/src/manual/cowboy_req.read_urlencoded_body.asciidoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/src/manual/cowboy_req.read_body.asciidoc b/doc/src/manual/cowboy_req.read_body.asciidoc index cb58aad..729b2f0 100644 --- a/doc/src/manual/cowboy_req.read_body.asciidoc +++ b/doc/src/manual/cowboy_req.read_body.asciidoc @@ -79,7 +79,7 @@ been read, or there was no body to begin with. The data is always returned as a binary. -The Req object returned in the tuple must be used for that point +The Req object returned in the tuple must be used from that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read. diff --git a/doc/src/manual/cowboy_req.read_part.asciidoc b/doc/src/manual/cowboy_req.read_part.asciidoc index fd21d4a..ceed72a 100644 --- a/doc/src/manual/cowboy_req.read_part.asciidoc +++ b/doc/src/manual/cowboy_req.read_part.asciidoc @@ -74,7 +74,7 @@ as a map. A `done` tuple is returned if there are no more parts to read. -The Req object returned in the tuple must be used for that point +The Req object returned in the tuple must be used from that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read. diff --git a/doc/src/manual/cowboy_req.read_part_body.asciidoc b/doc/src/manual/cowboy_req.read_part_body.asciidoc index 36b21ec..3a1af2f 100644 --- a/doc/src/manual/cowboy_req.read_part_body.asciidoc +++ b/doc/src/manual/cowboy_req.read_part_body.asciidoc @@ -61,7 +61,7 @@ An `ok` tuple is returned when there are no more data to be read. The data is always returned as a binary. -The Req object returned in the tuple must be used for that point +The Req object returned in the tuple must be used from that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read. diff --git a/doc/src/manual/cowboy_req.read_urlencoded_body.asciidoc b/doc/src/manual/cowboy_req.read_urlencoded_body.asciidoc index f8a72ab..3b65fcf 100644 --- a/doc/src/manual/cowboy_req.read_urlencoded_body.asciidoc +++ b/doc/src/manual/cowboy_req.read_urlencoded_body.asciidoc @@ -60,7 +60,7 @@ to 5 seconds. An `ok` tuple is returned containing a list of key/values found in the body. -The Req object returned in the tuple must be used for that point +The Req object returned in the tuple must be used from that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read. -- cgit v1.2.3