knutin/elli — pull request #10 by anha0825 (2012-07-10 09:18:44+00:00)
Title: Type spec errors found by dialyzer

$ dialyzer --apps stdlib kernel -r deps --build_plt --output_plt .dialyzer.plt
$ dialyzer -Wno_return ebin/*beam --plt .dialyzer.plt
...
elli_http.erl:266: Invalid type specification for function elli_http:get_headers/4. The success typing is (port(),{0 | 1,non_neg_integer()},binary(),{_,_}) -> {[{_,_}],binary()}
elli_http.erl:295: Invalid type specification for function elli_http:get_body/4. The success typing is (port(),[{_,_}],binary(),{_,_}) -> binary()
...