diff options
author | Magnus Klaar <[email protected]> | 2011-12-16 16:19:08 +0100 |
---|---|---|
committer | Magnus Klaar <[email protected]> | 2011-12-16 16:29:13 +0100 |
commit | fed1410b14ce284266b11c149f608bb49ed7ffbb (patch) | |
tree | ce111b557b2e9964ce10179c0b05ba063b531328 /test/http_SUITE_data | |
parent | 621411350a754852317d6a1c3ecfe8e5356ef12f (diff) | |
download | cowboy-fed1410b14ce284266b11c149f608bb49ed7ffbb.tar.gz cowboy-fed1410b14ce284266b11c149f608bb49ed7ffbb.tar.bz2 cowboy-fed1410b14ce284266b11c149f608bb49ed7ffbb.zip |
update type of resp_body to iodata
resp_body is set by cowboy_http_req:set_resp_body/2 which accepts
the input type iodata(). Update the resp_body field to use the same
type. Also update the cowboy_http_req:has_resp_body/2 function to
use the iolist_size/1 which works with both binary() and iolist()
values instead of the byte_size/1 function which only works with
binary() values.
Diffstat (limited to 'test/http_SUITE_data')
0 files changed, 0 insertions, 0 deletions