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:
parent
e7114577bb
commit
4090adaecc
1 changed files with 7 additions and 0 deletions
|
@ -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 no longer allowed. URIs are expected to be in UTF-8 once
|
||||||
they are percent-decoded.
|
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
|
* Etag comparison in REST handlers has been fixed. Some requests may
|
||||||
now fail when they succeeded in the past.
|
now fail when they succeeded in the past.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue