<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Jul 23, 2008 at 5:05 PM, Christian S <<a href="mailto:chsu79@gmail.com">chsu79@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2008/7/23 chamila piyasena <<a href="mailto:tchamila@gmail.com">tchamila@gmail.com</a>>:<br>
<div class="Ih2E3d">> Hi,<br>
> When we receive a http response what is the format of the body of the<br>
> responce(i.e : the html content)?<br>
> Is it like ,<br>
> {ok, http_response, { body, ...........}}<br>
<br>
</div>You change into plain mode after the end of headers arrive.<br>
<br>
It is a little bit annoying that no chunked-mode body exists.<br>
Implementable in erlang though.<br>
</blockquote></div><br><br><br>Thank you for your reply Christian,<br>You mean It automatically swiches in? If we originally set [binary, {packet, http}] then after end of header to what form it will be swiches to. <br> for an example {packet, 0}<br>
and are we getting the rest as {tcp, Socket, Bin}<br><br><br><br><br><br>Cheers,<br>Chamila <br><br><br><a href="http://chamilar.blogspot.com/">http://chamilar.blogspot.com/</a><br>
</div>