[erlang-questions] inets http client

Serge Aleynikov saleyn@REDACTED
Thu Oct 30 12:58:50 CET 2008


Is there a way in http:request/4 call to limit the number of bytes 
returned without waiting for the full content?  I have a URL to query 
frequently where the most relevant information is in the beginning of 
the page and the tail of the document is useless but large.

There is {full_result, boolean()} option (that doesn't seem to be 
documented well, so I am unclear what it does) but I don't see how to 
limit the number of bytes to be received.

Serge



More information about the erlang-questions mailing list