From 288deb5b88dd8e0aae57c9858d16c19ca9f186f9 Mon Sep 17 00:00:00 2001
From: Gary Rennie <gazler@gmail.com>
Date: Wed, 21 Mar 2018 10:18:07 +0000
Subject: Remove duplicate keys from map in inform docs

This is the equivalent way of doing the same thing using a single header.
---
 doc/src/guide/resp.asciidoc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'doc/src/guide/resp.asciidoc')

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).
 ----
 
-- 
cgit v1.2.3

