cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problems in getting information frm this page

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 12 Oct 2002 15:13:57 +0200 (MET DST)

On Sat, 12 Oct 2002, arturo didonna wrote:

> I use the following script from my Linux Mandrake 8.2 machine and I get no
> answer from the server.

No answer?

> #!/bin/bash
> curl -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows
> NT 5.0)" -d
> "TYPE=1&SEARCH_VALUE=FR0005130754&Suche=Cerca"
> http://warrants.onvista.it/extended_search.html

When I try this I get an answer. If I add -i, I can see what headers the
server sends back. Oh. There's a redirect in there. Now, I wonder what
happens if we follow that...

Well, it certainly seems to work fine with -L added. I didn't even use -A.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-12