curl-and-python

Re: Noob Question.

From: Dima Tisnek <dimaqq_at_gmail.com>
Date: Tue, 29 Jan 2013 19:49:45 +0100

pardon the autocorrect (exercise to the reader)

On 29 January 2013 19:48, Dima Tisnek <dimaqq_at_gmail.com> wrote:

> curlobject.setup(pycurl.HTTPHEADER, ["Foo: bar", "Baz: boo"])
>
>
> On 29 January 2013 19:46, Sandip Shah <sandipshah_at_vthrive.com> wrote:
>
>> Hi,
>>
>> I need to get the headers only from a URL (I am doing this for a lot of
>> URLs) and seems like PyCURL is the fastest way to do it in Python.
>>
>> However, I do not see a "setopt_HEAD" (curl -I option) in PyCURL.
>>
>> What am I missing, and how can I get it?
>>
>> Thanks,
>>
>> SS
>>
>>
>> _______________________________________________
>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
>>
>>
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-01-29