mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 12:40:25 +00:00
Fix specs to allow headers as iodata() and not just binary()
This commit is contained in:
parent
83ec63374f
commit
99d8f837fe
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@
|
|||
| 'Expires' | 'Last-Modified' | 'Accept-Ranges' | 'Set-Cookie'
|
||||
| 'Set-Cookie2' | 'X-Forwarded-For' | 'Cookie' | 'Keep-Alive'
|
||||
| 'Proxy-Connection' | binary().
|
||||
-type http_headers() :: list({http_header(), binary()}).
|
||||
-type http_headers() :: list({http_header(), iodata()}).
|
||||
-type http_cookies() :: list({binary(), binary()}).
|
||||
-type http_status() :: non_neg_integer() | binary().
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue