aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorLuke Bakken <[email protected]>2017-10-23 06:39:07 -0700
committerLoïc Hoguin <[email protected]>2017-10-23 14:59:45 +0100
commit4090adaecc6ba30eeeabf50aee57c22945fa27eb (patch)
tree14da72a7132453f74b3f910d1b71fef5b017357b /doc/src
parente7114577bb1a2e871cfd5e44d403da3e326787af (diff)
downloadcowboy-4090adaecc6ba30eeeabf50aee57c22945fa27eb.tar.gz
cowboy-4090adaecc6ba30eeeabf50aee57c22945fa27eb.tar.bz2
cowboy-4090adaecc6ba30eeeabf50aee57c22945fa27eb.zip
Add migration note concerning multiple headers
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/guide/migrating_from_1.0.asciidoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/guide/migrating_from_1.0.asciidoc b/doc/src/guide/migrating_from_1.0.asciidoc
index 14be1fc..4f4ea5b 100644
--- a/doc/src/guide/migrating_from_1.0.asciidoc
+++ b/doc/src/guide/migrating_from_1.0.asciidoc
@@ -195,6 +195,13 @@ Cowboy 2.0 now comes with Erlang.mk templates.
They are no longer allowed. URIs are expected to be in UTF-8 once
they are percent-decoded.
+* Clients that send multiple headers of the same name
+ will have the values of those headers concatenated into a
+ comma-separated list. This is of special importance in the
+ case of the content-type header, as previously only the
+ first value was used in the `content_types_accepted/2` step
+ in REST handlers.
+
* Etag comparison in REST handlers has been fixed. Some requests may
now fail when they succeeded in the past.