diff options
author | Loïc Hoguin <[email protected]> | 2011-12-05 07:54:56 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-12-05 07:54:56 +0100 |
commit | 99d8f837fe4af42edfdba1e83659f1ca8d75d17d (patch) | |
tree | 40568222c46cbed14feefb6f3d9c6d81a6f00030 /include | |
parent | 83ec63374f55e8cd407ba2cd6fc264acaa045422 (diff) | |
download | cowboy-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.hrl | 2 |
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(). |