cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to fully customize the HTTP request

From: Alexander Lazic <al-curllibrary_at_none.at>
Date: Sun, 21 May 2006 18:13:34 +0200

On Son 21.05.2006 11:45, Mohamed Lrhazi wrote:
>
>Actually I cannot use the CURLOPT_PROXY workaround because It does not
>seem to use KEEP-ALIVE... and I need KEEP-ALIVE because I have too much
>PURGE requests to send....

Does squid support keep-alive for the purge method?!

I'am not very familiar with the python interface but how about this in
pseudo-code:

---
setopt(...)
setopt(...)
setopt(...)
for i in urls;
setopt(URL,$i);
execute();
fi
---
In c/perl i would go this way.
Regards
Alex
Received on 2006-05-21