diff options
author | Gary Rennie <[email protected]> | 2018-03-21 10:18:07 +0000 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-03-27 23:10:27 +0200 |
commit | 288deb5b88dd8e0aae57c9858d16c19ca9f186f9 (patch) | |
tree | d1068bb4b64270b3881ab0b4b245fb79cc686dff /doc/src/guide | |
parent | 5f0123eddb74397767a6e460d349f103e8d88609 (diff) | |
download | cowboy-288deb5b88dd8e0aae57c9858d16c19ca9f186f9.tar.gz cowboy-288deb5b88dd8e0aae57c9858d16c19ca9f186f9.tar.bz2 cowboy-288deb5b88dd8e0aae57c9858d16c19ca9f186f9.zip |
Remove duplicate keys from map in inform docs
This is the equivalent way of doing the same thing using a single header.
Diffstat (limited to 'doc/src/guide')
-rw-r--r-- | doc/src/guide/resp.asciidoc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/src/guide/resp.asciidoc b/doc/src/guide/resp.asciidoc index 781157d..1664aef 100644 --- a/doc/src/guide/resp.asciidoc +++ b/doc/src/guide/resp.asciidoc @@ -308,8 +308,7 @@ response. [source,erlang] ---- Req = cowboy_req:inform(103, #{ - <<"link">> => <<"</style.css>; rel=preload; as=style">>, - <<"link">> => <<"</script.js>; rel=preload; as=script">> + <<"link">> => <<"</style.css>; rel=preload; as=style, </script.js>; rel=preload; as=script">> }, Req0). ---- |