curl-and-python

RE: Using PyCurl to do MKCOL

From: John Wilson <john.wilson_at_erigo.com>
Date: Tue, 1 Apr 2008 09:46:58 -0400

Kjetil,

Awesome - thank you! This worked, and you have given me a great tool with the "--libcurl" option!

Best regards,

John

-----Original Message-----
From: curl-and-python-bounces_at_cool.haxx.se [mailto:curl-and-python-bounces_at_cool.haxx.se] On Behalf Of Kjetil Jacobsen
Sent: Tuesday, April 01, 2008 9:25 AM
To: curl with python
Subject: Re: Using PyCurl to do MKCOL

hi,

try using the --libcurl option to curl, e.g. "curl --libcurl s.c -X MKCOL ...".

then inspect the resulting 's.c' file for the libcurl options
corresponding to the curl invocation. mapping the libcurl options
into the pycurl equivalent should be straightforward,

regards,
   - kjetil

On Tue, Apr 1, 2008 at 3:12 PM, John Wilson <john.wilson_at_erigo.com> wrote:
>
>
>
>
> I can do a MKCOL in Curl using:
>
>
>
> curl -X MKCOL <...URL...>
>
>
>
> How do I do the same with PyCurl?
>
>
>
> Many thanks,
>
>
>
> John
>
>
>
> _________________________________________
>
> John P. Wilson
>
> Engineer
>
> Erigo Technologies LLC
>
> P.O. Box 899
>
> 64 Main St.
>
> Enfield NH 03748-0899 USA
>
> Office: 603.632.4156
>
> Cell: 603.252.2087
>
> Fax: 603.676.0162
>
> Email: john.wilson_at_erigo.com
>
> Website: www.erigo.com
>
>
>
> Notice: This email (including attachments) is covered by the Electronic
> Communications Privacy Act, 18 U.S.C.§§2510-2521, is confidential and may be
> legally privileged. If you are not the intended recipient, you are hereby
> notified that any retention dissemination, distribution, or copying of this
> communication is strictly prohibited. Please reply to the sender that you
> have received the message in error, and then delete it. Thank you.
>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
>
>
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2008-04-01