getting the path of an http request as binary

Pablo Platt <>
Thu Feb 11 14:50:16 CET 2010


Hi

mochiweb uses:
gen_tcp:recv(Socket, 0, ?REQUEST_RECV_TIMEOUT)
which result with:
{ok, {http_request, Method, Path, Version}}
where the Path is a list.

Is it possible to get the Path as binary without having to convert it?

Are there docs about http_binary packet parser in R13B03?

Thanks


      


More information about the erlang-questions mailing list