curl-and-python

Re: defer downloading the response body when making GET request

From: Oleg Pudeyev <oleg+pycurl_at_bsdpower.com>
Date: Tue, 16 Dec 2014 10:45:56 -0500

Yes, you can return 0 from read callback to abort subsequent network
transfers.

Oleg

On Mon, 15 Dec 2014 08:31:44 +0100
Dima Tisnek <dimaqq_at_gmail.com> wrote:

> curl already does what you see in requests, all you need is
> WRITEFUNCTION.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2014-12-16