0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00

Various fixes and tweaks to the user guide

This commit is contained in:
Loïc Hoguin 2017-01-02 14:20:15 +01:00
parent 5838a0c81a
commit 271e31c629
No known key found for this signature in database
GPG key ID: 71366FF21851DF03
8 changed files with 66 additions and 29 deletions

View file

@ -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.