curl-users
Re: https problem
Date: Wed, 29 Nov 2000 11:06:19 +0100 (MET)
On Wed, 29 Nov 2000, Shlomit Lisser wrote:
> However if you'll browse to
> https://www.mcb-ib.co.mu/ib/accinfo.nsf/mainpage?openform
> using IE or Netscape and click on the second link - which is
> https://www.mcb-ib.co.mu/ib/accinfo.nsf/OnlineBalance?Openagent you'll get
> the proper page.
> Using curl with the same link URL will get me the header that I send.
> What I wont to get is the page content of
> https://www.mcb-ib.co.mu/ib/accinfo.nsf/OnlineBalance?Openagent
When browsers see different things than curl does, it is often due to some
kind of server-side filter/check.
> Things is it worked like a charm up until a few days ago. What could have
> happened?
That is also an indicator that they've done something to the site that now
put different requirements on you. Maybe you need cookies, maybe you need a
browser-like user-agent, maybe you need a referer. Set everything the way
your browser would and try if that helps.
> If the pages of the site has been changed ( and it probably did) is there
> ant solution for that?
Well, the contents of the pages shouldn't alter the way the server behaves.
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/Received on 2000-11-29