diff options
author | Loïc Hoguin <[email protected]> | 2016-01-15 16:14:46 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-01-15 16:16:56 +0100 |
commit | dbb636034f20736e16eb9d6c809217c9525b6cbd (patch) | |
tree | 5d1b9f94d827873f2e7851443fb6c7a6659f2d16 /doc/src/guide/rest_principles.asciidoc | |
parent | 6deac75ea4f824c4ff9df9e37785592d8d5b5120 (diff) | |
download | cowboy-dbb636034f20736e16eb9d6c809217c9525b6cbd.tar.gz cowboy-dbb636034f20736e16eb9d6c809217c9525b6cbd.tar.bz2 cowboy-dbb636034f20736e16eb9d6c809217c9525b6cbd.zip |
Minor grammar improvements from Derek Brown2.0.0-pre.3
[ci-skip]
Diffstat (limited to 'doc/src/guide/rest_principles.asciidoc')
-rw-r--r-- | doc/src/guide/rest_principles.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/guide/rest_principles.asciidoc b/doc/src/guide/rest_principles.asciidoc index 6ae2063..66939cb 100644 --- a/doc/src/guide/rest_principles.asciidoc +++ b/doc/src/guide/rest_principles.asciidoc @@ -63,7 +63,7 @@ a collection of resources and any other information. Any information that can be the target of an hypertext link can be a resource. A resource is a conceptual mapping to a set of entities. The set of -entities evolves over time; a resource doesn't. For example a resource +entities evolves over time; a resource doesn't. For example, a resource can map to "users who have logged in this past month" and another to "all users". At some point in time they may map to the same set of entities, because all users logged in this past month. But they are @@ -103,8 +103,8 @@ Control data allows parameterizing the request or response. For example, we may only want the representation returned if it is more recent than the one we have in cache. Similarly, we may want to instruct the client about how it should cache -the representation. This isn't restricted to caching. We may -for example want to store a new representation of a resource +the representation. This isn't restricted to caching. We may, +for example, want to store a new representation of a resource only if it wasn't modified since we first retrieved it. The data format of a representation is also known as the media |