cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Error while opening page contain java aaplet

From: Kjell Ericson <Kjell.Ericson_at_haxx.se>
Date: Wed, 8 Aug 2007 07:48:23 +0200 (CEST)

On Wed, 8 Aug 2007, parag vibhute wrote:

> There was a redirection, so I figured it out problem & solved that by giving
> appropriate url which contain applet.

Good!

> If an html page contains an applet & if I send that url request with curl
> command, will whatever inside applet get perform?

No. Curl doesn't do any java stuff. The technique to use is to do the same
requests with curl as your browser (which is what LiveHTTPHeader shows you).
Most java script doesn't do anything "important" (as encrypt data), so you can
often look what the browser requests and let curl do exactly the same.

You can also let curl identify itself as a browser (flag -A) so the site can't
see any differance between curl and a browser (some sites blocks non-IE
browsers).

  // Kjell
Received on 2007-08-08