aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/rest_handlers.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-01-02 14:20:15 +0100
committerLoïc Hoguin <[email protected]>2017-01-02 14:46:19 +0100
commit271e31c629be2dff93d68e01c9a8a9c5c34b7e2c (patch)
treeb20ba4f01a174479c1cde0d7abb610dbfa757d05 /doc/src/guide/rest_handlers.asciidoc
parent5838a0c81a978377084b33fd086de10f9775f425 (diff)
downloadcowboy-271e31c629be2dff93d68e01c9a8a9c5c34b7e2c.tar.gz
cowboy-271e31c629be2dff93d68e01c9a8a9c5c34b7e2c.tar.bz2
cowboy-271e31c629be2dff93d68e01c9a8a9c5c34b7e2c.zip
Various fixes and tweaks to the user guide
Diffstat (limited to 'doc/src/guide/rest_handlers.asciidoc')
-rw-r--r--doc/src/guide/rest_handlers.asciidoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/guide/rest_handlers.asciidoc b/doc/src/guide/rest_handlers.asciidoc
index 748fca4..c69f02b 100644
--- a/doc/src/guide/rest_handlers.asciidoc
+++ b/doc/src/guide/rest_handlers.asciidoc
@@ -101,13 +101,13 @@ and in the second case that we send one as HTML.
=== Meta data
-Cowboy will set informative meta values at various points of the
-execution. You can retrieve them using `cowboy_req:meta/{2,3}`.
-The values are defined in the following table.
+Cowboy will set informative values to the Req object at various
+points of the execution. You can retrieve them by matching the
+Req object directly. The values are defined in the following table:
[cols="<,<",options="header"]
|===
-| Meta key | Details
+| Key | Details
| media_type | The content-type negotiated for the response entity.
| language | The language negotiated for the response entity.
| charset | The charset negotiated for the response entity.