[patch] add extra http headers to request

Mauricio Teixeira mteixeira at webset.net
Fri Nov 23 08:33:43 PST 2007


On Thu, 2007-11-22 at 17:39 -0200, Mauricio Teixeira wrote:

> item = fetcher.enqueue(repomd, http_headers=http_headers)
> 
> Now I need to play with PyCurl. :)

This patch implements with PyCurl.

I also added a way to ignore self-signed SSL certificates, since it's a
requirement for my project.

Gustavo, please, review it.

Thanks.

-- 
% Mauricio Teixeira (netmask) | Sao Paulo/SP/BR      %
% mteixeira{a}webset{d}net    | http://smartpm.org   %
% http://mteixeira.webset.net | http://pmping.sf.net %

NOTE: This is my personal e-mail account. I do NOT use
it to speak for my employer or any of my co-workers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fetcher-add-headers-v4.patch
Type: text/x-patch
Size: 2703 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20071123/61f709f7/attachment-0003.bin>


More information about the Smart mailing list