summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-01-02 19:56:53 +0100
committerLoïc Hoguin <[email protected]>2017-01-02 19:56:53 +0100
commitfdc955ab18ba2fe285c75b75a8b92cf9f9436adc (patch)
treee038f2df840c2583e374cee21e240c3082f25186 /docs/en/cowboy/2.0/guide/rest_handlers.asciidoc
parent1780abb415b1a9c27c3a1f53267e9689da6b0005 (diff)
downloadninenines.eu-fdc955ab18ba2fe285c75b75a8b92cf9f9436adc.tar.gz
ninenines.eu-fdc955ab18ba2fe285c75b75a8b92cf9f9436adc.tar.bz2
ninenines.eu-fdc955ab18ba2fe285c75b75a8b92cf9f9436adc.zip
Update docs
Diffstat (limited to 'docs/en/cowboy/2.0/guide/rest_handlers.asciidoc')
-rw-r--r--docs/en/cowboy/2.0/guide/rest_handlers.asciidoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc b/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc
index 748fca49..c69f02b2 100644
--- a/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc
+++ b/docs/en/cowboy/2.0/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.