cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Another https problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 15 Nov 2000 17:21:11 +0100 (MET)

On Wed, 15 Nov 2000, Shlomit Lisser wrote:

> Did any one manage to get data from a link within an https site????

Yes, many people have.

> The link is also an https url. Getting to the site home page is O.K. ,
> only when I am trying to receive data from one of the site links it
> failes.

It fails or it doesn't give you the data you wanted?

> When you are browsing through ie5 and pressing a link you'll get the
> page. Some how the browser send the link request differently then it is
> done by curland I couldn't figure out how. Any Ideas???

The remote site have lots of ways to fool a poor curl user. Some hints:

1. Perhaps it uses a Location: header and you don't use -L
2. Perhaps it wants cookies and you don't do -b properly
3. Perhaps it checks the referrer field and you don't do -E
4. Perhaps it checks the user-agent field and you don't do -A

... or it is a combination, or it is something else.

Fiddling with sites like this means a lot of research and trial and error.
Without lots of more information, we can't even start helping you...

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-11-15