* using both atoms and binaries for header names
* for binary header names, changing the case but only for name length <
22 characters, and with a weird behavior if it contains "--"
* returning tuples for everything (forces me to handle all the different
errors at the same level, and makes it harder to read)
* not allowing me to fail early (see previous)
I can simplify the code a lot by not using it, all without sacrificing
performance because I can still use binary BIFs instead. The only thing
that requires a little Erlang code is parsing the request line.
This email explains it:
http://erlang.org/pipermail/erlang-questions/2012-June/067428.html
--
Motiejus Jakštys