[erlang-questions] How to get binaries when using {packet, http}

Sergey S ad.sergey@REDACTED
Mon Jan 26 21:42:25 CET 2009


Hello.

> Yes, you are right. Which means that if binary strings are introduced in
> http-packets it will most probably be done with some other option, like
> {packet, http_bin}.

Thanks for your answer.

In other words nobody knows for sure when it will be, if ever,
implemented. But nothing prevents to hope that support of http_bin
will be introduced during R13 life =)

Anyway...

People who want to get binaries from standard http-decoder can use
[{packet, raw}, binary] along with erlang:decode_packet/3 to decode a
binary.

--
Sergey



More information about the erlang-questions mailing list