diff options
author | Loïc Hoguin <[email protected]> | 2016-11-07 18:20:55 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-11-07 18:20:55 +0200 |
commit | b2d4e41dcda3c2964c8a865482129a7fdf9e55a6 (patch) | |
tree | ab796b5df0aff565cde0e0d8aadce57be35b11f2 /docs/en/cowboy/2.0/manual/cowboy_req.header/index.html | |
parent | 1e1027960f5090f6ac98690cddef4d96201d9245 (diff) | |
download | ninenines.eu-b2d4e41dcda3c2964c8a865482129a7fdf9e55a6.tar.gz ninenines.eu-b2d4e41dcda3c2964c8a865482129a7fdf9e55a6.tar.bz2 ninenines.eu-b2d4e41dcda3c2964c8a865482129a7fdf9e55a6.zip |
Update docs
Diffstat (limited to 'docs/en/cowboy/2.0/manual/cowboy_req.header/index.html')
-rw-r--r-- | docs/en/cowboy/2.0/manual/cowboy_req.header/index.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.header/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.header/index.html index f4fb9809..06a441a5 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_req.header/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_req.header/index.html @@ -83,10 +83,12 @@ by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><span style="font-weight: bold"><span style="color: #000000">header</span></span>(<span style="color: #009900">Name</span> <span style="color: #990000">::</span> <span style="font-weight: bold"><span style="color: #000080">binary</span></span>(), <span style="color: #009900">Req</span>) <span style="color: #990000">-></span> <span style="font-weight: bold"><span style="color: #000000">header</span></span>(<span style="color: #009900">Name</span>, <span style="color: #009900">Req</span>, <span style="color: #000080">undefined</span>)
-<span style="font-weight: bold"><span style="color: #000000">header</span></span>(<span style="color: #009900">Name</span> <span style="color: #990000">::</span> <span style="font-weight: bold"><span style="color: #000080">binary</span></span>(), <span style="color: #009900">Req</span>, <span style="color: #009900">Default</span>) <span style="color: #990000">-></span> <span style="font-weight: bold"><span style="color: #000080">binary</span></span>() | <span style="color: #009900">Default</span>
+<pre><tt><span style="font-weight: bold"><span style="color: #000000">header</span></span>(<span style="color: #009900">Name</span>, <span style="color: #009900">Req</span>) <span style="color: #990000">-></span> <span style="font-weight: bold"><span style="color: #000000">header</span></span>(<span style="color: #009900">Name</span>, <span style="color: #009900">Req</span>, <span style="color: #000080">undefined</span>)
+<span style="font-weight: bold"><span style="color: #000000">header</span></span>(<span style="color: #009900">Name</span>, <span style="color: #009900">Req</span>, <span style="color: #009900">Default</span>) <span style="color: #990000">-></span> <span style="font-weight: bold"><span style="color: #000080">binary</span></span>() | <span style="color: #009900">Default</span>
-<span style="color: #009900">Req</span> <span style="color: #990000">::</span> <span style="font-weight: bold"><span style="color: #000000">cowboy_req:req</span></span>()</tt></pre></div></div>
+<span style="color: #009900">Name</span> <span style="color: #990000">::</span> <span style="font-weight: bold"><span style="color: #000080">binary</span></span>()
+<span style="color: #009900">Req</span> <span style="color: #990000">::</span> <span style="font-weight: bold"><span style="color: #000000">cowboy_req:req</span></span>()
+<span style="color: #009900">Default</span> <span style="color: #990000">::</span> <span style="font-weight: bold"><span style="color: #000000">any</span></span>()</tt></pre></div></div>
<div class="paragraph"><p>Return the value for the given HTTP header.</p></div>
<div class="paragraph"><p>The header name must be given as a lowercase binary string.
While header names are case insensitive, Cowboy requires them
|