aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-12-05 07:54:56 +0100
committerLoïc Hoguin <[email protected]>2011-12-05 07:54:56 +0100
commit99d8f837fe4af42edfdba1e83659f1ca8d75d17d (patch)
tree40568222c46cbed14feefb6f3d9c6d81a6f00030 /include
parent83ec63374f55e8cd407ba2cd6fc264acaa045422 (diff)
downloadcowboy-99d8f837fe4af42edfdba1e83659f1ca8d75d17d.tar.gz
cowboy-99d8f837fe4af42edfdba1e83659f1ca8d75d17d.tar.bz2
cowboy-99d8f837fe4af42edfdba1e83659f1ca8d75d17d.zip
Fix specs to allow headers as iodata() and not just binary()
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http.hrl b/include/http.hrl
index d4fba18..d1ca0aa 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -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().