On Mon, 29 Jun 2009, Per Jessen wrote:-
Sebastian Schöbinger wrote:
It should download the source from the https://users.opensuse.org site, to read out the statistics (how many users etc), but I just get:
<HTML><HEAD><TITLE>Novell iChain</TITLE></HEAD><BODY><b><p>Your old browser does not support a 302 Redirect.</b></BODY></HTML>
How can I avoid that?
I don't think you can - your code needs to understand HTTP.
I'm curious as to why he's getting a 302 redirect when using curl gets the front page, as shown by this snippet:
davjam@playing:~> curl -x '' https://users.opensuse.org
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>
<title>openSUSE User Directory</title>
Regards, David Bolt yes I know, with wget it did also work, now I tried with a Qt download example and it worked, so I will look how the did it.
mfg / best Sebastian Schöbinger //Member of the openSUSE Team // //Writer of the openSUSE News (Tips and Tricks) // //Translator of the openSUSE News // //http://de.opensuse.org/Benutzer:STS301 // //http://linux301.wordpress.com // Public openPGP key: 4C5E 2C32 7F1B 574C 0746 2DB1 724B E45F 1FC7 93A4 -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org