0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Add migration note concerning multiple headers

This commit is contained in:
Luke Bakken 2017-10-23 06:39:07 -07:00 committed by Loïc Hoguin
parent e7114577bb
commit 4090adaecc
No known key found for this signature in database
GPG key ID: 71366FF21851DF03

View file

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