[erlang-questions] Are you using {packet, http} ?

Christian S chsu79@REDACTED
Wed Jul 23 13:35:43 CEST 2008

2008/7/23 chamila piyasena <tchamila@REDACTED>:
> Hi,
> When we receive a http response what is the  format of  the body of the
> responce(i.e : the html content)?
> Is it like ,
>  {ok,  http_response, { body, ...........}}

You change into plain mode after the end of headers arrive.

It is a little bit annoying that no chunked-mode body exists.
Implementable in erlang though.

More information about the erlang-questions mailing list