cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: How to fully customize the HTTP request

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 24 May 2006 00:32:07 +0200 (CEST)

On Sun, 21 May 2006, Mohamed Lrhazi wrote:

> Well... The option would allow me to say:
>
> purge_url='http://yaqb.org/test-cache/test.html'
> c.setopt(c.CUSTOMREQUEST,'PURGE')
> c.setopt(c.URL, 'http://mysquid.ip.address/ignore/this/path')
> c.setopt(c.CUSTOMPATH,purge_url)
> c.perform()

I can see how you have troubles doing this with libcurl without telling it to
speak to a proxy...

So yes, if you really want to do proxy-style URL requests with libcurl to a
host that is not a proxy and similar, such an option will most probably be
required. Funny how no one else ever needed this...

You up to providing a patch?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-05-24

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET