cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Malformed request problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Mar 2002 10:21:30 +0100 (MET)

On Mon, 11 Mar 2002, Amit Hooja wrote:

> I am trying to login on a web based form which on posting data redirects
> somehwere else , I tried doing ti manuall parsing the url and redriecting
> it with second command it does not work says invalid session id , whereas
> when i use -L option it does work what may be the reason

Well, probably your manual parsing doesn't come up with the same result as
the interal -L magic does.

Slap on a -v and you get to see the requests and you can check for yourself,
exactly what curl sends in all cases. Then you compare.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-11