[erlang-questions] inets http client

Zvi exta7@REDACTED
Thu Oct 30 22:21:43 CET 2008

Maybe, HTTP HEAD request will help you:

"Asks for the response identical to the one that would correspond to a GET
request, but without the response body. This is useful for retrieving
meta-information written in response headers, without having to transport
the entire content."


Serge Aleynikov-2 wrote:
> 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
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

View this message in context: http://www.nabble.com/inets-http-client-tp20245563p20255737.html
Sent from the Erlang Questions mailing list archive at Nabble.com.

More information about the erlang-questions mailing list