http://qa.mandrakesoft.com/show_bug.cgi?id=3226





------- Additional Comments From [EMAIL PROTECTED]  2003-03-12 19:01 -------
I managed to get curl get the file, it appears to refuse to use Location field
here, I don't known exact HTTP protocol but wget do it while curl refuse it.

$ curl -i
http://Deno:[EMAIL PROTECTED]/downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm
HTTP/1.1 302 Found
Date: Wed, 12 Mar 2003 17:45:23 GMT
Server: Apache-AdvancedExtranetServer/1.3.22 (Mandrake Linux/10.2mdk) PHP/4.0.6
X-Powered-By: PHP/4.0.6
Set-Cookie: lang=english; expires=Thu, 11-Mar-04 17:45:23 GMT
Location:
https://Deno:[EMAIL PROTECTED]/downloads/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm
Transfer-Encoding: chunked
Content-Type: text/html





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEEDINFO
creation_date: 
description: 
curl-7.10.3-1mdk
urpmi-4.2-31mdk

Downloading from commercial club downloads with urpmi fails because it doesn't
follow HTTP redirection or it can't accept the invalid certificate (missing -k
or --insecure option to curl

Twho problems here :

- urpmi/curl dosn't follow redirection from http to https url

- urpmi/curl doesn't accept invalid ssl certificate from club comm

[EMAIL PROTECTED] plugins]# urpmi FlashPlayer
   
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm
   
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.0/i586/FlashPlayer-6.0-2mdk.i586.rpm
L'installation a �chou�, il manque des fichiers:
    /var/cache/urpmi/rpms/FlashPlayer-6.0-2mdk.i586.rpm
Vous devriez mettre � jour votre base de donn�es urpmi
[EMAIL PROTECTED] plugins]# urpmi --curl FlashPlayer
   
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm
   
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.0/i586/FlashPlayer-6.0-2mdk.i586.rpm
L'installation a �chou�, il manque des fichiers:
    /var/cache/urpmi/rpms/FlashPlayer-6.0-2mdk.i586.rpm
Vous devriez mettre � jour votre base de donn�es urpmi
[EMAIL PROTECTED] plugins]# urpmi --wget FlashPlayer
   
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm
installation de /var/cache/urpmi/rpms/FlashPlayer-6.0-2mdk.i586.rpm

Reply via email to