curl-and-python

Re: Using PyCurl to do MKCOL

From: Kjetil Jacobsen <kjetilja_at_gmail.com>
Date: Tue, 1 Apr 2008 15:24:56 +0200

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
Received on 2008-04-01